From 8ca8dabf8b91715c77611276ae3bfe1da24f8dbb Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 11 Mar 2020 23:06:10 +0100 Subject: join only strings --- src/benchmark.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/benchmark.py') diff --git a/src/benchmark.py b/src/benchmark.py index e8d52c6..daa20be 100644 --- a/src/benchmark.py +++ b/src/benchmark.py @@ -457,7 +457,7 @@ class Benchmark: substitutions.update(alloc) if perm: substitutions.update(perm._asdict()) - substitutions["perm"] = "-".join(*perm) + substitutions["perm"] = "-".join([str(v) for v in perm]) else: substitutions["perm"] = "" @@ -591,7 +591,7 @@ class Benchmark: try: data = [float(m[dp]) for m in self.results[alloc][perm]] except (TypeError, ValueError) as e: - print_debug(e) + print_debug(dp, e) continue stats["min"][dp] = np.min(data) stats["max"][dp] = np.max(data) -- cgit v1.2.3