Skip to content

Commit 2b7d9d5

Browse files
committed
[TkAl][PixBary][FIX] Do not clobber output of multiple PixBary extract jobs
Add to the output directory path the names of: the single job, the alignment and the IOV (as it is done for the working directory path). This avoids overwriting the output when extracting from multiple alignments and/or IOVs simultaneously.
1 parent 92657ed commit 2b7d9d5

File tree

1 file changed

+1
-1
lines changed
  • Alignment/OfflineValidation/python/TkAlAllInOneTool

1 file changed

+1
-1
lines changed

Alignment/OfflineValidation/python/TkAlAllInOneTool/PixBary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def PixBary(config, validationDir, verbose=False):
8181
"exe": "extractBaryCentre.py",
8282
"config": {
8383
"input": os.path.join(singleConfig["config"]["output"], "PixelBaryCentre.root"),
84-
"output": os.path.join(out_base, jobType, jobName),
84+
"output": os.path.join(out_base, jobType, jobName, singleName, alignment, IOV),
8585
"styles": jobConfig.get("styles", ["csv", "twiki"])
8686
},
8787
"flavour": "espresso" # So fast that anything else would not make sense

0 commit comments

Comments
 (0)