Skip to content

Commit 4e3cc83

Browse files
committed
qc-workflow: bugfix: don't add MCH QC tasks if MCH QC not requested
1 parent c3f6726 commit 4e3cc83

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DATA/production/qc-workflow.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ elif [[ -z $QC_JSON_FROM_OUTSIDE ]]; then
134134
[[ -z "$QC_JSON_FDD" ]] && QC_JSON_FDD=$O2DPG_ROOT/DATA/production/qc-async/fdd.json
135135
[[ -z "$QC_JSON_EMC" ]] && QC_JSON_EMC=$O2DPG_ROOT/DATA/production/qc-async/emc.json
136136
[[ -z "$QC_JSON_MID" ]] && QC_JSON_MID=$O2DPG_ROOT/DATA/production/qc-async/mid.json
137-
if [[ -z "$QC_JSON_MCH" ]]; then
137+
if has_detector_qc MCH && [[ -z "$QC_JSON_MCH" ]]; then
138138
add_QC_JSON MCH_DIGITS $O2DPG_ROOT/DATA/production/qc-async/mch-digits.json
139139
if has_processing_step "MCH_RECO"; then
140140
add_QC_JSON MCH_RECO $O2DPG_ROOT/DATA/production/qc-async/mch-reco.json

0 commit comments

Comments
 (0)