diff options
author | mr <mr@mrautenberg.de> | 2011-03-31 13:06:52 +0200 |
---|---|---|
committer | mr <mr@mrautenberg.de> | 2011-03-31 13:06:52 +0200 |
commit | 52d24617271835c0fc7702d6fea8592bc4151b15 (patch) | |
tree | e0d512e97668339c6864c4a559ce592cac445691 /application.rb | |
parent | 7728e43afb3d7d67e9405288df55799fe88205e7 (diff) | |
parent | 1ceb48fa8a62f394ea2d622c4e6e0a4e198e8778 (diff) |
external links and several issues
Diffstat (limited to 'application.rb')
-rw-r--r-- | application.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/application.rb b/application.rb index 44adf89..400109b 100644 --- a/application.rb +++ b/application.rb @@ -254,7 +254,6 @@ post '/models' do # create a new model # create summary validation.summary(subjectid).each do |k,v| - #LOGGER.debug "mr ::: k: #{k.inspect} - v: #{v.inspect}" begin eval "@model.update :#{k.to_s} => v" if v rescue @@ -284,7 +283,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') |