summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2012-04-17 14:46:41 +0200
committerAndreas Maunz <andreas@maunz.de>2012-04-17 14:46:41 +0200
commit104c524c0f8b290f8922aa17a54d70162ea145d5 (patch)
tree37186e291e9522293dcc2cc21476a226622c0380
parent612a1bf1ab41ed366486d69153e8e4c8ea39e576 (diff)
Improved debug out
-rw-r--r--lazar.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lazar.rb b/lazar.rb
index 68878f7..40b4ad0 100644
--- a/lazar.rb
+++ b/lazar.rb
@@ -53,7 +53,7 @@ post '/lazar/?' do
# Prediction Feature
prediction_feature = OpenTox::Feature.find(params[:prediction_feature],@subjectid)
unless params[:prediction_feature] # try to read prediction_feature from dataset
- raise OpenTox::NotFoundError.new "#{training_dataset.features.size} features in dataset #{dataset_uri}. Please provide a prediction_feature parameter." unless training_dataset.features.size == 1
+ raise OpenTox::NotFoundError.new "#{training_dataset.features.size} features in dataset #{dataset_uri}. Please provide a prediction_feature parameter." unless training_dataset.features.size == 1
prediction_feature = OpenTox::Feature.find(training_dataset.features.keys.first,@subjectid)
params[:prediction_feature] = prediction_feature.uri # pass to feature mining service
end