summaryrefslogtreecommitdiff
path: root/application.rb
diff options
context:
space:
mode:
authormr <mr@mrautenberg.de>2011-03-15 16:33:15 +0100
committermr <mr@mrautenberg.de>2011-03-15 16:33:15 +0100
commit422a5abc6c56f237d0bc84bce613e688867d0e16 (patch)
tree408cdc855d21b112808cde78da2f47c43af8db2e /application.rb
parenta6ee4587bfcb565e87ab597b4e1156467ab67152 (diff)
clean toxcreate.js, fix cancel edit modelname
Diffstat (limited to 'application.rb')
-rw-r--r--application.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/application.rb b/application.rb
index 243333c..d11dad4 100644
--- a/application.rb
+++ b/application.rb
@@ -282,7 +282,7 @@ post '/models' do # create a new model
#@model.warnings += "<p>Duplicated structures (all structures/activities used for model building, please make sure, that the results were obtained from <em>independent</em> experiments):</p>" + duplicate_warnings unless duplicate_warnings.empty?
lazar.uri
end
- @model.update(:task_uri => task.uri)
+ @model.update :task_uri => task.uri
flash[:notice] = "Model creation and validation started - this may last up to several hours depending on the number and size of the training compounds."
redirect url_for('/models')