summaryrefslogtreecommitdiff
path: root/test/dataset.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2015-10-07 12:34:02 +0200
committerChristoph Helma <helma@in-silico.ch>2015-10-07 12:34:02 +0200
commit8d2f1c8a0f6cc9f7a481d1117bf8b3351130b1ea (patch)
treee02208fee7d7548270e23aa37c7505691f3c5cde /test/dataset.rb
parentbe95000d7c14174286ddc8f1717c4b6c46e0c1cc (diff)
generalised fingerprints
Diffstat (limited to 'test/dataset.rb')
-rw-r--r--test/dataset.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dataset.rb b/test/dataset.rb
index 752073e..60f917c 100644
--- a/test/dataset.rb
+++ b/test/dataset.rb
@@ -168,6 +168,7 @@ class DatasetTest < MiniTest::Test
def test_from_csv2
File.open("#{DATA_DIR}/temp_test.csv", "w+") { |file| file.write("SMILES,Hamster\nCC=O,true\n ,true\nO=C(N),true") }
dataset = Dataset.from_csv_file "#{DATA_DIR}/temp_test.csv"
+ p dataset.warnings
assert_equal "Cannot parse SMILES compound ' ' at position 3, all entries are ignored.", dataset.warnings.join
File.delete "#{DATA_DIR}/temp_test.csv"
dataset.features.each{|f| feature = Feature.find f.id; feature.delete}