Skip to content

Commit ef2c1d7

Browse files
committed
Use productionTag from command line
Inject a concrete production tag into the workflow instead of reading it from a shell variable. There is no need to depend on a (potentially changeable) runtime environment.
1 parent b9fdfff commit ef2c1d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MC/bin/o2dpg_sim_workflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1608,7 +1608,7 @@ def getDigiTaskName(det):
16081608
f"--run-number {args.run}",
16091609
getDPL_global_options(bigshm=True),
16101610
f"--info-sources {aodinfosources}",
1611-
"--lpmp-prod-tag ${ALIEN_JDL_LPMPRODUCTIONTAG:-unknown}",
1611+
f"--lpmp-prod-tag {args.productionTag}",
16121612
"--anchor-pass ${ALIEN_JDL_LPMANCHORPASSNAME:-unknown}",
16131613
"--anchor-prod ${ALIEN_JDL_LPMANCHORPRODUCTION:-unknown}",
16141614
f"--created-by {aod_creator}",

0 commit comments

Comments
 (0)