From 90110adf761e4b6011c997c1b338f5c902307487 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Thu, 13 Dec 2012 13:53:34 +0100 Subject: title modified --- application.rb | 3 +++ views/layout.haml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/application.rb b/application.rb index 532135c..6eac935 100644 --- a/application.rb +++ b/application.rb @@ -211,6 +211,9 @@ class Application < Sinatra::Base result = pubchem_search File.join(PUG_URI, "compound", "listkey", listkey, "cids", "JSON") end result["IdentifierList"]["CID"].delete params[:cid].to_i + #result["IdentifierList"]["CID"].each do |cid| + # @result << cid unless assays(cid,"active").empty? and assays(cid,"inactive").empty? + #end @result = result["IdentifierList"]["CID"].to_json end diff --git a/views/layout.haml b/views/layout.haml index 19d972a..8ca6a2d 100644 --- a/views/layout.haml +++ b/views/layout.haml @@ -38,7 +38,7 @@ } %body - %h1 AOP read across + %h1 PubChem read across %form{:name => "form", :action => '/search', :method => "GET"} %fieldset %label{:for => 'name'} Compound name: -- cgit v1.2.3