summaryrefslogtreecommitdiff
path: root/test/descriptor-long.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2015-07-19 21:24:41 +0200
committerChristoph Helma <helma@in-silico.ch>2015-07-19 21:24:41 +0200
commit546d4ac32cb064d678696aea67984adf63178d20 (patch)
tree3b4a412bf472b3f450c0e1d8d7aa3aa45840c952 /test/descriptor-long.rb
parent2b3faa2e52307a76ce25becfb4158ea6752fb870 (diff)
lazar predictions working in principle
Diffstat (limited to 'test/descriptor-long.rb')
-rw-r--r--test/descriptor-long.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/descriptor-long.rb b/test/descriptor-long.rb
index e33eea1..04ab8c5 100644
--- a/test/descriptor-long.rb
+++ b/test/descriptor-long.rb
@@ -13,9 +13,9 @@ class DescriptorLongTest < MiniTest::Test
dataset = OpenTox::Dataset.new
dataset.upload File.join(DATA_DIR,"hamster_carcinogenicity.mini.csv")
d = OpenTox::Algorithm::Descriptor.physchem dataset
- assert_equal dataset.compounds.size, d.data_entries.size
- assert_equal 332, d.data_entries[0].size
- d.delete
+ assert_equal dataset.compounds.size, d.keys.size
+ assert_equal 332, d.first.last.size
+ #d.delete
end
end