diff options
author | mguetlein <martin.guetlein@gmail.com> | 2010-05-07 16:54:11 +0200 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2010-05-07 16:54:11 +0200 |
commit | de396cc7b0ce475a01b51dbe956b0e91032fb10e (patch) | |
tree | 8ad410d83821f875645bac13fb4f1e1a31cd56c7 /lib/ot_predictions.rb | |
parent | 6f437cd052fef1dfcdf2317688a78442d2d8a1f7 (diff) |
revert changes no feature encoing in dataset
Diffstat (limited to 'lib/ot_predictions.rb')
-rw-r--r-- | lib/ot_predictions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ot_predictions.rb b/lib/ot_predictions.rb index 6d02466..2e3e927 100644 --- a/lib/ot_predictions.rb +++ b/lib/ot_predictions.rb @@ -82,7 +82,7 @@ module Lib prediction_dataset = OpenTox::Dataset.find prediction_dataset_uri raise "prediction dataset not found: '"+prediction_dataset_uri.to_s+"'" unless prediction_dataset - raise "prediction dataset feature not found: '"+predicted_variable+"', available features: "+prediction_dataset.features.inspect if prediction_dataset.features.index(predicted_variable)==nil + raise "prediction-feature not found: '"+predicted_variable+"' in prediction-dataset: "+prediction_dataset_uri.to_s+", available features: "+prediction_dataset.features.inspect if prediction_dataset.features.index(predicted_variable)==nil raise "more predicted than test compounds test:"+@compounds.size.to_s+" < prediction:"+ prediction_dataset.compounds.size.to_s if @compounds.size < prediction_dataset.compounds.size |