diff options
author | mguetlein <martin.guetlein@gmail.com> | 2012-12-03 12:06:22 +0100 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2012-12-03 12:06:22 +0100 |
commit | 167391f03434c4ee87f0b58a105d582ffaf04419 (patch) | |
tree | 05422f6418a67b276dfa61dec0ac2004ea6d7abc | |
parent | fd73098fc09aac004de5e22b4400861f1ad29971 (diff) |
adjust lazar test to latest commit in opentox-ruby (how to store database activities)
-rw-r--r-- | lazar.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -90,10 +90,10 @@ def test_classification_model # dataset activity assert !@predictions[1].measured_activities(@compounds[1]).empty? assert_equal "true", @predictions[1].measured_activities(@compounds[1]).first.to_s - assert @predictions[1].value(@compounds[1]).nil? + #NO, measured activites are stored as predictions as well!, assert @predictions[1].value(@compounds[1]).nil? # dataset prediction c = OpenTox::Compound.from_smiles("CC(=Nc1ccc2c(c1)Cc1ccccc21)O") - assert_equal nil, @predictions[2].value(c) + #NO, measured activites are stored as predictions as well!, assert_equal nil, @predictions[2].value(c) assert_equal "true", @predictions[2].measured_activities(c).first.to_s c = OpenTox::Compound.from_smiles("c1ccccc1NN") assert_equal "false", @predictions[2].value(c) |