Skip to content

Commit 5f82839

Browse files
suite_data fixes (#128)
1 parent bf16ddf commit 5f82839

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

github_scripts/suite_data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def get_workflow_id(self) -> str:
306306

307307
with open(self.suite_path / "log" / "scheduler" / "log", "r") as f:
308308
for line in f:
309-
match = re.search(r"INFO - Workflow: (\w+\/\w+)", line)
309+
match = re.search(r"INFO - Workflow: (\S+\/\w+)", line)
310310
try:
311311
workflow_id = match.group(1)
312312
return workflow_id
@@ -336,7 +336,7 @@ def read_groups_run(self) -> str:
336336
for row in self.query_suite_database(
337337
self.suite_path / "log" / "db", ["key", "value"], "workflow_template_vars"
338338
):
339-
if row[0] in ("g", "groups"):
339+
if row[0] in ("g", "group"):
340340
groups = row[1].strip("[]'\"").split(",")
341341
break
342342
return groups

0 commit comments

Comments
 (0)