diff options
author | mr <mr@mrautenberg.de> | 2011-03-15 16:33:15 +0100 |
---|---|---|
committer | mr <mr@mrautenberg.de> | 2011-03-15 16:33:15 +0100 |
commit | 422a5abc6c56f237d0bc84bce613e688867d0e16 (patch) | |
tree | 408cdc855d21b112808cde78da2f47c43af8db2e /application.rb | |
parent | a6ee4587bfcb565e87ab597b4e1156467ab67152 (diff) |
clean toxcreate.js, fix cancel edit modelname
Diffstat (limited to 'application.rb')
-rw-r--r-- | application.rb | 2 |
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') |