summaryrefslogtreecommitdiff
path: root/application.rb
diff options
context:
space:
mode:
Diffstat (limited to 'application.rb')
-rw-r--r--application.rb6
1 files changed, 3 insertions, 3 deletions
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