summaryrefslogtreecommitdiff
path: root/smarts.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2010-11-04 11:15:59 +0100
committerChristoph Helma <helma@in-silico.ch>2010-11-04 11:15:59 +0100
commite72bba4cdaa6fd68d62b567e21be730a49963207 (patch)
tree22c088db8e266b420bd7055edad778bd2b8ce375 /smarts.rb
parent19dd7247be22e637419d79406041a4548b169c2c (diff)
fminer with annotations, commit before merging andreas new version
Diffstat (limited to 'smarts.rb')
-rw-r--r--smarts.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/smarts.rb b/smarts.rb
index 2ea54d2..4ae6949 100644
--- a/smarts.rb
+++ b/smarts.rb
@@ -1,3 +1,3 @@
get '/match/compound/*/smarts/*/?' do
- "#{OpenTox::Compound.new(:inchi => params[:splat][0]).match?(params[:splat][1])}"
+ "#{OpenTox::Compound.from_inchi(params[:splat][0]).match?(params[:splat][1])}"
end