summaryrefslogtreecommitdiff
path: root/lazar.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2010-08-20 10:36:00 +0200
committerChristoph Helma <helma@in-silico.ch>2010-08-20 10:36:00 +0200
commit44bc4cb89e60467ab06c2ab58d6368c6d7708c86 (patch)
tree6467c2dbd452d3bb930a02bd8bfbaf3d57586cc3 /lazar.rb
parent7f99548d0044b57556a7ec8727c19d878bbe9cd7 (diff)
parent8ada8380bc906c8ffbb16d4f9cc787eb800b7796 (diff)
Merge commit 'mguetlein/test' into development
Diffstat (limited to 'lazar.rb')
-rw-r--r--lazar.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lazar.rb b/lazar.rb
index eee875a..83f926d 100644
--- a/lazar.rb
+++ b/lazar.rb
@@ -338,7 +338,7 @@ post '/:id/?' do # create prediction
elsif dataset_uri
response['Content-Type'] = 'text/uri-list'
- task_uri = OpenTox::Task.as_task do
+ task_uri = OpenTox::Task.as_task("Predict dataset",url_for("/#{lazar.id}", :full)) do
input_dataset = OpenTox::Dataset.find(dataset_uri)
input_dataset.compounds.each do |compound_uri|
# AM: switch here between regression and classification