summaryrefslogtreecommitdiff
path: root/webapp/fs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/fs.rb')
-rw-r--r--webapp/fs.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/fs.rb b/webapp/fs.rb
index 670885f..6286629 100644
--- a/webapp/fs.rb
+++ b/webapp/fs.rb
@@ -11,14 +11,14 @@ module OpenTox
# Get list of feature selection algorithms
# @return [text/uri-list] URIs
get '/fs/?' do
- list = [ url_for('/fs/rfe', :full) ].join("\n") + "\n"
+ list = [ to('/fs/rfe', :full) ].join("\n") + "\n"
format_output(list)
end
# Get representation of Recursive Feature Elimination algorithm
# @return [String] Representation
get "/fs/rfe/?" do
- algorithm = OpenTox::Algorithm.new(url_for('/fs/rfe',:full))
+ algorithm = OpenTox::Algorithm.new(to('/fs/rfe',:full))
algorithm.metadata = {
DC.title => 'Recursive Feature Elimination',
DC.creator => "andreas@maunz.de",