summaryrefslogtreecommitdiff
path: root/test/setup.rb
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2017-03-21 15:11:44 +0000
committergebele <gebele@in-silico.ch>2017-03-21 15:11:44 +0000
commit658cee5e1df2e1fcb0c7f9259955f1e3199deb5a (patch)
tree8a2286df903c3fd916f29f2698db954f69a59f8d /test/setup.rb
parent5d7aec4c09709f2179bbbac1e1140255156c0cda (diff)
fixed regression test for rf algorithm see: 'loael edit' commit;along with larger treining datasets
Diffstat (limited to 'test/setup.rb')
-rw-r--r--test/setup.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/setup.rb b/test/setup.rb
index 40c8ebf..c1cddfb 100644
--- a/test/setup.rb
+++ b/test/setup.rb
@@ -3,6 +3,8 @@ require 'minitest/autorun'
require_relative '../lib/lazar.rb'
#require 'lazar'
include OpenTox
+#$mongo.database.drop
+#$gridfs = $mongo.database.fs # recreate GridFS indexes
TEST_DIR ||= File.expand_path(File.dirname(__FILE__))
DATA_DIR ||= File.join(TEST_DIR,"data")
training_dataset = Dataset.where(:name => "Protein Corona Fingerprinting Predicts the Cellular Interaction of Gold and Silver Nanoparticles").first