diff options
author | Christoph Helma <helma@in-silico.ch> | 2012-12-13 13:53:34 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2012-12-13 13:53:34 +0100 |
commit | 90110adf761e4b6011c997c1b338f5c902307487 (patch) | |
tree | ca9c694049e117f56cc2fcdabbec5ac247a353c4 | |
parent | 8881b2fedc8c047b212f1a37615fb9e84fe0b316 (diff) |
title modified
-rw-r--r-- | application.rb | 3 | ||||
-rw-r--r-- | views/layout.haml | 2 |
2 files changed, 4 insertions, 1 deletions
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: |