From 8ada8380bc906c8ffbb16d4f9cc787eb800b7796 Mon Sep 17 00:00:00 2001 From: mguetlein Date: Thu, 19 Aug 2010 11:18:32 +0200 Subject: adding task title and creator --- lazar.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lazar.rb') 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 -- cgit v1.2.3