From acf19c81e345ceccde834653a0f0edce27827958 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Thu, 28 Apr 2016 11:05:05 +0200 Subject: compound classification fixed --- lib/compound.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/compound.rb') diff --git a/lib/compound.rb b/lib/compound.rb index 049d77b..c2ce5d0 100644 --- a/lib/compound.rb +++ b/lib/compound.rb @@ -335,7 +335,7 @@ module OpenTox {'$match' => {'tanimoto' => {'$gte' => params[:min_sim]}}}, {'$sort' => {'tanimoto' => -1}} ] - + $mongo["substances"].aggregate(aggregate).select{|r| r["dataset_ids"].include? params[:training_dataset_id]} end -- cgit v1.2.3