From bcb2f0cff718d7613b1faef688b24cb05ffa3a4e Mon Sep 17 00:00:00 2001
From: Rico Bergmann <rico.bergmann1@tu-dresden.de>
Date: Thu, 20 Jun 2019 16:34:46 +0200
Subject: [PATCH] Use correct list slicing for failed models

---
 scripts/run.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/run.py b/scripts/run.py
index 2424b7e..9ecd2d7 100755
--- a/scripts/run.py
+++ b/scripts/run.py
@@ -90,7 +90,7 @@ def benchmark(conf):
                     # if a tool failed running some model we remove that model as well as all "stronger" models
                     failed_model_idx = conf.Models.index(model)
                     available_models[tool] = conf.Models[ : failed_model_idx]
-                    print('# Ignoring models {models} for tool {tool} in the future'.format(models=conf.Models[failed_model_idx : ], tool=tool))
+                    print('# Ignoring models {models} for tool {tool} in the future'.format(models=conf.Models[ : failed_model_idx], tool=tool))
 
 
 def clean_dir(*path):
-- 
GitLab