summaryrefslogtreecommitdiff
path: root/test/lazar-long.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/lazar-long.rb')
-rw-r--r--test/lazar-long.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lazar-long.rb b/test/lazar-long.rb
index c0deaa2..1b58319 100644
--- a/test/lazar-long.rb
+++ b/test/lazar-long.rb
@@ -29,7 +29,7 @@ class LazarExtendedTest < MiniTest::Test
feature_dataset = OpenTox::CalculatedDataset.find model.feature_dataset_id
assert_equal dataset.compounds.size, feature_dataset.compounds.size
assert_equal 52, feature_dataset.features.size
- assert_equal '[#17&A]-[#6&A]', feature_dataset.features.first.title
+ assert_equal '[#17&A]-[#6&A]', feature_dataset.features.first.name
compound = OpenTox::Compound.from_inchi("InChI=1S/C10H9NO2S/c1-8-2-4-9(5-3-8)13-6-10(12)11-7-14/h2-5H,6H2,1H3")
prediction_dataset = model.predict compound
prediction = prediction_dataset.data_entries.first