diff options
-rw-r--r-- | lazar.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |