From 38724c6b36b35d22588c6a6eaa52c7092efa7d70 Mon Sep 17 00:00:00 2001 From: gebele Date: Wed, 18 Sep 2019 21:06:08 +0200 Subject: added docker --- application.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'application.rb') diff --git a/application.rb b/application.rb index a2eac47..9411301 100644 --- a/application.rb +++ b/application.rb @@ -38,9 +38,9 @@ get '/predict/?' do @existing_datasets = dataset_storage @models = Model::Validation.all @models = @models.delete_if{|m| m.model.name =~ /\b(Net cell association)\b/} - endpoints = @models.collect{|m| m.endpoint if m.endpoint != "Mutagenicity"}.compact - endpoints << "Oral toxicity (Cramer rules)" - endpoints << "Lowest observed adverse effect level (LOAEL) (Mazzatorta)" + endpoints = @models.collect{|m| m.endpoint if m.endpoint == "Mutagenicity"}.compact + #endpoints << "Oral toxicity (Cramer rules)" + #endpoints << "Lowest observed adverse effect level (LOAEL) (Mazzatorta)" @endpoints = endpoints.sort.uniq @models.count <= 0 ? (haml :info) : (haml :predict) end -- cgit v1.2.3