From 4a3256c5b7021b83dd14e4182d656b8076b56f3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Monta=C3=B1ana?= Date: Fri, 17 Dec 2021 17:03:57 +0100 Subject: [PATCH] Fix statichmethod issue in benchmark --- src/Utils.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Utils.py b/src/Utils.py index f25c589..66dc11e 100644 --- a/src/Utils.py +++ b/src/Utils.py @@ -54,8 +54,9 @@ class Files: stratified = stratified.replace(self.report_ext, "") return score, model, platform, date, time, stratified - def results_suffixes(self, score="", model=""): - suffix = self.report_ext + @staticmethod + def results_suffixes(score="", model=""): + suffix = Files.report_ext if model == "" and score == "": return "results_", suffix if model == "":