diff options
author | gebele <gebele@in-silico.ch> | 2019-09-18 21:06:08 +0200 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2019-09-18 21:06:08 +0200 |
commit | 38724c6b36b35d22588c6a6eaa52c7092efa7d70 (patch) | |
tree | bf8298f861ee45e8ff9d072e29f0118707531915 | |
parent | cf80891415b530fc9fa52fc1e593c949c463d7da (diff) |
-rw-r--r-- | application.rb | 6 | ||||
-rw-r--r-- | docker/Dockerfile | 2 |
2 files changed, 4 insertions, 4 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 diff --git a/docker/Dockerfile b/docker/Dockerfile index 53b4032..9b0144d 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -53,7 +53,7 @@ RUN git clone https://git.in-silico.ch/kazius-alerts RUN git clone https://git.in-silico.ch/lazar-gui && \ cd lazar-gui && \ git fetch && git fetch --tags && \ - git checkout nestle-lazar-main-dg2 && \ + git checkout nestle-new-consensus-mutagenicity-dg3 && \ bundle install --path ~/.gem COPY start.sh /home/ist/start.sh |