diff options
author | Christoph Helma <helma@in-silico.ch> | 2013-07-04 18:26:12 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2013-07-04 18:26:12 +0200 |
commit | b63793f1729eb16465801b144cc26c9ee57a89e1 (patch) | |
tree | 67bbfc5ed2db1bed69c4a74543f169d9e4f990c9 | |
parent | 449483c0c565a36fabdf1bfe8ecb20bc68f734aa (diff) |
attempt to fix validation, tests still not passing
-rw-r--r-- | lib/prediction_data.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/prediction_data.rb b/lib/prediction_data.rb index 9182307..833ebe0 100644 --- a/lib/prediction_data.rb +++ b/lib/prediction_data.rb @@ -141,8 +141,8 @@ module Lib if CHECK_VALUES prediction_dataset.compounds.size.times do |c_idx| c = prediction_dataset.compounds[c_idx] - internal_server_error "predicted compound not found in test dataset:\n"+c+"\ntest-compounds:\n"+ - test_dataset.compounds.collect{|c| c.to_s}.join("\n") if prediction_dataset.data_entry_value(c_idx,predicted_variable)!=nil and test_dataset.compounds.include?(c) + internal_server_error "predicted compound not found in test dataset:\n"+c.uri+"\ntest-compounds:\n"+ + test_dataset.compounds.collect{|c| c.uri}.join("\n") if prediction_dataset.data_entry_value(c_idx,predicted_variable)!=nil and test_dataset.compounds.include?(c) end end |