summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2012-03-26 10:09:02 +0200
committerAndreas Maunz <andreas@maunz.de>2012-03-26 10:09:02 +0200
commit5d3570cd42000eb59fc9cc8e62b2af2194baea9b (patch)
treec6bf55ee9558ce7caafadc1ce688595f2ff9651c
parenta2192d531d43b324cbec69e171542116a8f2a327 (diff)
parentf4c7c9325814666ca853f09cb240a278cb6165f8 (diff)
Merge branch 'development' into modular
-rw-r--r--lazar.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lazar.rb b/lazar.rb
index 2a08778..1fe28f8 100644
--- a/lazar.rb
+++ b/lazar.rb
@@ -144,7 +144,7 @@ post '/lazar/?' do
params[:subjectid] = @subjectid
prediction_feature = OpenTox::Feature.find params[:prediction_feature], @subjectid
if prediction_feature.feature_type == "regression" && feature_generation_uri.match(/fminer/)
- params[:feature_type] = "paths"
+ params[:feature_type] = "paths" unless params[:feature_type]
end
feature_dataset_uri = OpenTox::Algorithm::Generic.new(feature_generation_uri).run(params, OpenTox::SubTask.new(task,10,70)).to_s
training_features = OpenTox::Dataset.new(feature_dataset_uri)