From dd02e2059261ce8433769528de8cadfebe964ba1 Mon Sep 17 00:00:00 2001 From: Andreas Maunz Date: Fri, 13 Apr 2012 09:33:33 +0200 Subject: URI encoding of prediction feature removed again --- README.md | 3 +-- fs.rb | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ea25a8f..df16dce 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ OpenTox Algorithm - subgraph descriptor calculation (fminer) - physico-chemical descriptor calculation (pc) for more than 300 descriptors - feature selection (fs) using recursive feature elimination (rfe) +- See http://opentox-ruby.maunz.de for high-level workflow documentation REST operations --------------- @@ -83,8 +84,6 @@ Synopsis - min_train_performance. The minimum training performance for "local\_svm\_classification" (Accuracy) and "local\_svm\_regression" (R-squared). Numeric value in [0,1]. - del_missing: one of true, false -See http://www.maunz.de/wordpress/opentox/2011/lazar-models-and-how-to-trigger-them for a graphical overview. - Supported MIME formats ---------------------- diff --git a/fs.rb b/fs.rb index 7077642..3ac2c02 100644 --- a/fs.rb +++ b/fs.rb @@ -63,7 +63,7 @@ post '/fs/rfe/?' do ds.puts(ds_csv) ds.flush() - prediction_feature = URI.escape(params[:prediction_feature].split('/').last) # get col name + prediction_feature = params[:prediction_feature].split('/').last # get col name fds_features = OpenTox::Dataset.new(params[:feature_dataset_uri]).load_features fds_csv=OpenTox::RestClientWrapper.get( params[:feature_dataset_uri], {:accept => "text/csv"}) -- cgit v1.2.3