diff options
author | Christoph Helma <helma@in-silico.ch> | 2016-11-11 13:07:53 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2016-11-11 13:07:53 +0100 |
commit | b6116bc4705066da30668ff3370f3b1c307e44e7 (patch) | |
tree | 387c3f43cd9cc4d8fecbaeaf80773a83e52c93ff /test/setup.rb | |
parent | 9a06f2ff5ae6bdbe7dc90555599e186f1585e0d2 (diff) |
enm import fixed
Diffstat (limited to 'test/setup.rb')
-rw-r--r-- | test/setup.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/setup.rb b/test/setup.rb index 6c97282..63b59fb 100644 --- a/test/setup.rb +++ b/test/setup.rb @@ -5,5 +5,9 @@ require_relative '../lib/lazar.rb' 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 |