Skip to content

Commit 3f75776

Browse files
committed
fix: output globbing
1 parent 9c6aed2 commit 3f75776

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/workflows/lhcb/ProductionRequestToCWL.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ def _buildOutputParameters(step: dict[str, Any]) -> list[CommandOutputParameter]
611611
for output in output_types:
612612
output_type = output.get("type")
613613
if output_type:
614-
output_globs.append(f"*{output_type}")
614+
output_globs.append(f"*.{output_type.lower()}")
615615

616616
if output_globs:
617617
output_parameters.append(
@@ -639,7 +639,7 @@ def _buildOutputParameters(step: dict[str, Any]) -> list[CommandOutputParameter]
639639
"prodConf*.py",
640640
"summary*.xml",
641641
"prmon*",
642-
f"{app_name.replace('/', '')}*.log",
642+
f"{app_name.replace('/', '').replace(' ', '')}*.log",
643643
]
644644
),
645645
)

0 commit comments

Comments
 (0)