Skip to content

Commit 358310c

Browse files
committed
[TkAl][PixBary][FIX] create jobs only for the alignments that are selected
1 parent 4c8bf78 commit 358310c

File tree

1 file changed

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

1 file changed

+3
-1
lines changed

Alignment/OfflineValidation/python/TkAlAllInOneTool/PixBary.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ def PixBary(config, validationDir, verbose=False):
2828
for runRange in IOV_list:
2929
IOV = '-'.join(str(i) for i in runRange)
3030

31-
for alignment, alignmentConfig in config["alignments"].items():
31+
for alignment in jobConfig["alignments"]:
32+
alignmentConfig = config["alignments"][alignment]
33+
3234
##Work directory for each IOV
3335
workDir = os.path.join(validationDir, _validationName, jobType, jobName, alignment, IOV)
3436

0 commit comments

Comments
 (0)