Skip to content

Commit a2a4fed

Browse files
committed
Run only select list of global QC tasks, checking before that the inputs are actually created
1 parent 2196a16 commit a2a4fed

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

DATA/production/qc-workflow.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,10 @@ elif [[ -z $QC_JSON_FROM_OUTSIDE ]]; then
135135
fi
136136
done
137137

138-
for i in $(echo $LIST_OF_GLORECO | sed "s/,/ /g"); do
138+
LIST_OF_GLOQC=
139+
has_detectors_reco ITS TPC && has_detector_matching ITSTPC && add_comma_separated LIST_OF_GLOQC ITSTPC
140+
has_detectors_reco ITS && has_detector_matching PRIMVTX && add_comma_separated LIST_OF_GLOQC PRIMVTX
141+
for i in $(echo $LIST_OF_GLOQC | sed "s/,/ /g"); do
139142
GLO_JSON_FILE="QC_JSON_$i"
140143
if has_detector_matching $i && has_matching_qc $i && [ ! -z "${!GLO_JSON_FILE}" ]; then
141144
add_QC_JSON $i ${!GLO_JSON_FILE}

0 commit comments

Comments
 (0)