summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lazar.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lazar.rb b/lazar.rb
index f79b901..80015b4 100644
--- a/lazar.rb
+++ b/lazar.rb
@@ -337,7 +337,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