summaryrefslogtreecommitdiff
path: root/lazar.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2010-11-24 15:04:23 +0100
committerChristoph Helma <helma@in-silico.ch>2010-11-24 15:04:23 +0100
commitc0aa3b2dcdcf6f4590b4608d3f1a73361306f59b (patch)
treef5483bf0381f3a15988d57751809684c484b7a30 /lazar.rb
parentc9efdf4de040d6012042b9cd99d1d2deea21d890 (diff)
tests adapted for external services
Diffstat (limited to 'lazar.rb')
-rw-r--r--lazar.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lazar.rb b/lazar.rb
index 4779c4f..e3c6908 100644
--- a/lazar.rb
+++ b/lazar.rb
@@ -13,7 +13,7 @@ class LazarTest < Test::Unit::TestCase
compound = OpenTox::Compound.from_smiles("c1ccccc1NN")
prediction_uri = lazar.run(:compound_uri => compound.uri)
prediction = OpenTox::LazarPrediction.find(prediction_uri)
- assert_equal prediction.value(compound), 0.149518871336721
+ assert_equal prediction.value(compound), 0.149480050002539
assert_equal prediction.confidence(compound), 0.615246530364447
assert_equal prediction.neighbors(compound).size, 81
prediction.delete