From cdab5069ded9490afe81095059e9a407faf864d9 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Tue, 10 Jan 2017 13:44:43 +0100 Subject: independent_variables stored in GridFS to avoid Mongo database size limit problems --- test/setup.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'test/setup.rb') diff --git a/test/setup.rb b/test/setup.rb index 63b59fb..40c8ebf 100644 --- a/test/setup.rb +++ b/test/setup.rb @@ -6,8 +6,4 @@ include OpenTox 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 -unless training_dataset - Import::Enanomapper.import File.join(File.dirname(__FILE__),"data","enm") -end -#$mongo.database.drop -#$gridfs = $mongo.database.fs +Import::Enanomapper.import unless training_dataset -- cgit v1.2.3