summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-07-07 15:06:27 +0200
committerAndreas Maunz <andreas@maunz.de>2011-07-07 15:06:27 +0200
commit54eb829e260162636d9ec770e9175c9cafc012c0 (patch)
tree3c4d9a5a4a9c79bf0b7399b82aac675b0e795175
parente4ba76a3dab8bf9fc099524588ecc6f99c5e5e50 (diff)
Adjusted Lazar testpatch
-rw-r--r--fminer.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/fminer.rb b/fminer.rb
index 4927af2..07a6023 100644
--- a/fminer.rb
+++ b/fminer.rb
@@ -302,14 +302,14 @@ end
if c.to_s.scan('feature/bbrc/92').size > 0
assert_equal e['http://www.opentox.org/api/1.1#effect'], "2"
assert_equal e['http://www.opentox.org/api/1.1#pValue'].to_f.round_to(2), 0.99
- assert_equal e['http://www.opentox.org/api/1.1#smarts'], "[#6&a]:[#6&a](:[#6&a])(:[#6&a]:[#6&a]:[#6&a]:[#6&a]-[#16&A])"
+ assert_equal e['http://www.opentox.org/api/1.1#smarts'], "[#7&A]-[#6&a](:[#6&a]:[#6&a]:[#6&a])(:[#6&a]:[#6&a]-[#16&A])"
end
}
@dataset.features.each { |c,e|
if c.to_s.scan('feature/bbrc/42').size > 0
assert_equal e['http://www.opentox.org/api/1.1#effect'], "0"
assert_equal e['http://www.opentox.org/api/1.1#pValue'].to_f.round_to(2), 0.99
- assert_equal e['http://www.opentox.org/api/1.1#smarts'], "[#6&a]:[#6&a](:[#7&a]:[#6&a])(:[#6&a]:[#6&a])"
+ assert_equal e['http://www.opentox.org/api/1.1#smarts'], "[#6&a]:[#6&a]:[#6&a]:[#6&a]:[#6&a]:[#7&a]:[#6&a]"
end
}
cleanup