summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2010-08-19 11:18:32 +0200
committermguetlein <martin.guetlein@gmail.com>2010-08-19 11:18:32 +0200
commit8ada8380bc906c8ffbb16d4f9cc787eb800b7796 (patch)
tree3a0871347d0d2e0f55091b402867f7080c32dae8
parent6d3a6b65fc86a9ed9948cf572888920ee9db120d (diff)
adding task title and creator
-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