Skip to content

Commit e897b86

Browse files
noferinidavidrohr
authored andcommitted
move TOF match QC at the beginning of global json
1 parent ea46095 commit e897b86

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

DATA/production/qc-workflow.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,18 +122,19 @@ elif [[ -z $QC_JSON_FROM_OUTSIDE ]]; then
122122
JSON_FILES=
123123
OUTPUT_SUFFIX=
124124
QC_CONFIG=
125+
126+
# TOF matching
127+
if has_detector_qc TOF && [ ! -z "$QC_JSON_TOF_MATCH" ]; then
128+
add_QC_JSON matchTOF ${QC_JSON_TOF_MATCH}
129+
fi
130+
125131
for i in $(echo $LIST_OF_DETECTORS | sed "s/,/ /g"); do
126132
DET_JSON_FILE="QC_JSON_$i"
127133
if has_detector_qc $i && [ ! -z "${!DET_JSON_FILE}" ]; then
128134
add_QC_JSON $i ${!DET_JSON_FILE}
129135
fi
130136
done
131137

132-
# TOF matching
133-
if has_detector_qc TOF && [ ! -z "$QC_JSON_TOF_MATCH" ]; then
134-
add_QC_JSON matchTOF ${QC_JSON_TOF_MATCH}
135-
fi
136-
137138
for i in $(echo $LIST_OF_GLORECO | sed "s/,/ /g"); do
138139
GLO_JSON_FILE="QC_JSON_$i"
139140
if has_detector_matching $i && has_matching_qc $i && [ ! -z "${!GLO_JSON_FILE}" ]; then

0 commit comments

Comments
 (0)