diff options
author | Christoph Helma <helma@in-silico.ch> | 2016-04-13 15:15:51 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2016-04-13 15:15:51 +0200 |
commit | a8368dda776c05331474adf7eaf9a6e413a3b1eb (patch) | |
tree | daafac9a7453a8d453fc6992293afe6f6a937551 /lib/compound.rb | |
parent | 84222bae2bbb9fb3e0ce3e65de1be8e7f94d2147 (diff) |
validation tests pass
Diffstat (limited to 'lib/compound.rb')
-rw-r--r-- | lib/compound.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compound.rb b/lib/compound.rb index 84d8891..757ba1a 100644 --- a/lib/compound.rb +++ b/lib/compound.rb @@ -341,7 +341,7 @@ module OpenTox {'$sort' => {'tanimoto' => -1}} ] - $mongo["compounds"].aggregate(aggregate).select{|r| r["dataset_ids"].include? params[:training_dataset_id]} + $mongo["substances"].aggregate(aggregate).select{|r| r["dataset_ids"].include? params[:training_dataset_id]} end |