diff options
author | mguetlein <martin.guetlein@gmail.com> | 2010-08-19 11:18:32 +0200 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2010-08-19 11:18:32 +0200 |
commit | 8ada8380bc906c8ffbb16d4f9cc787eb800b7796 (patch) | |
tree | 3a0871347d0d2e0f55091b402867f7080c32dae8 | |
parent | 6d3a6b65fc86a9ed9948cf572888920ee9db120d (diff) |
adding task title and creator
-rw-r--r-- | lazar.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |