diff options
author | Christoph Helma <helma@in-silico.ch> | 2015-10-19 11:42:16 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2015-10-19 11:42:16 +0200 |
commit | 511b3033b7359a8bf23cac42852003e94044cd47 (patch) | |
tree | 8c463f4ad636302befcec255ff38a6d312efd1e8 /test | |
parent | 596ef28dea32baa37b47fa5b82bdc4649ca69382 (diff) |
GridFS storage for data_entries removed (will break kazius/fminer models), lazy creation of classification confidence plots.
Diffstat (limited to 'test')
-rw-r--r-- | test/dataset.rb | 1 | ||||
-rw-r--r-- | test/setup.rb | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test/dataset.rb b/test/dataset.rb index 60f917c..47a6c25 100644 --- a/test/dataset.rb +++ b/test/dataset.rb @@ -141,6 +141,7 @@ class DatasetTest < MiniTest::Test def test_from_csv d = Dataset.from_csv_file "#{DATA_DIR}/hamster_carcinogenicity.csv" + p d assert_equal Dataset, d.class assert_equal 1, d.features.size assert_equal 85, d.compounds.size diff --git a/test/setup.rb b/test/setup.rb index 3825282..dc577b3 100644 --- a/test/setup.rb +++ b/test/setup.rb @@ -4,5 +4,5 @@ require_relative '../lib/lazar.rb' include OpenTox TEST_DIR ||= File.expand_path(File.dirname(__FILE__)) DATA_DIR ||= File.join(TEST_DIR,"data") -#$mongo.database.drop -#$gridfs = $mongo.database.fs +$mongo.database.drop +$gridfs = $mongo.database.fs |