From 3c7fb802090f85d7689892e431de7668a9be2bc3 Mon Sep 17 00:00:00 2001 From: Stefan Vigerske Date: Thu, 21 May 2026 15:31:01 +0200 Subject: [PATCH 1/3] handle that numericExpression may not have a match - avoids failure on None.group(0) from input like Gap First Sol. : infinite --- ipet/parsing/StatisticReader_TableReader.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ipet/parsing/StatisticReader_TableReader.py b/ipet/parsing/StatisticReader_TableReader.py index afb800f..e59b147 100644 --- a/ipet/parsing/StatisticReader_TableReader.py +++ b/ipet/parsing/StatisticReader_TableReader.py @@ -96,8 +96,11 @@ def extractStatistic(self, line): else: # treat vectors (tables with only one data column) datakeys = ['_'.join((self.tableid, rowname))] - # TODO This works, why is eclipse complaining? - data = [self.convertToFloat(misc.numericExpression.search(line, colonidx + 1).group(0))] + finding = misc.numericExpression.search(line, colonidx + 1) + if finding is not None: + data = [self.convertToFloat(finding.group(0))] + else : + data = [] # determine minimum length (necessary if more headers were recognized than actual available data) minlen = min(len(datakeys), len(data)) From 127caefb1a64981bd20250770c2a5fd0e6aa8103 Mon Sep 17 00:00:00 2001 From: Stefan Vigerske Date: Thu, 21 May 2026 15:35:15 +0200 Subject: [PATCH 2/3] make more scripts executable --- scripts/ipet-evaluate | 0 scripts/ipet-parse | 0 2 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 scripts/ipet-evaluate mode change 100644 => 100755 scripts/ipet-parse diff --git a/scripts/ipet-evaluate b/scripts/ipet-evaluate old mode 100644 new mode 100755 diff --git a/scripts/ipet-parse b/scripts/ipet-parse old mode 100644 new mode 100755 From 808183bd257bf41af74cb922f60c6dfdae9e5100 Mon Sep 17 00:00:00 2001 From: Stefan Vigerske Date: Thu, 21 May 2026 15:41:27 +0200 Subject: [PATCH 3/3] have logger defined in process_one_outfiles_group --- scripts/ipet-parse | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/ipet-parse b/scripts/ipet-parse index 95ce423..a1c9f69 100755 --- a/scripts/ipet-parse +++ b/scripts/ipet-parse @@ -117,6 +117,7 @@ def process_one_outfiles_group(task : tuple): outfiles, arguments = task experiment = setup_experiment(arguments) + logger = logging.getLogger() logger.info("Start parsing process of outfile(s) {}".format(", ".join(outfiles))) for o in outfiles: