@@ -24,7 +24,7 @@ add_QC_JSON() {
2424 TMP_FILENAME=$FETCHTMPDIR /$1 .$RANDOM .$RANDOM .json
2525 curl -s -o $TMP_FILENAME " http://${GEN_TOPO_QC_CONSUL_SERVER} :8500/v1/kv/${2/ consul: \/\/ / } ?raw"
2626 if [[ $? != 0 ]]; then
27- echo " Error fetching QC JSON $2 " 1>&2
27+ echo " Error fetching QC JSON $2 (3) " 1>&2
2828 exit 1
2929 fi
3030 elif [[ ${2} =~ ^apricot://.* ]]; then
@@ -35,9 +35,9 @@ add_QC_JSON() {
3535 else
3636 curl -s -o $TMP_FILENAME " ${GEN_TOPO_QC_APRICOT_SERVER} /${2/ apricot: \/\/ o2\/ / } ?run_type=${RUNTYPE:- } \&beam_type=${BEAMTYPE:- } \&process=true"
3737 fi
38-
38+
3939 if [[ $? != 0 ]]; then
40- echo " Error fetching QC JSON $2 " 1>&2
40+ echo " Error fetching QC JSON $2 (4) " 1>&2
4141 exit 1
4242 fi
4343 else
@@ -198,7 +198,7 @@ elif [[ -z ${QC_JSON_FROM_OUTSIDE:-} ]]; then
198198 else
199199 QC_JSON_ZDC=$O2DPG_ROOT /DATA/production/qc-async/zdc.json
200200 fi
201- fi
201+ fi
202202 if [[ -z " ${QC_JSON_EMC:- } " ]]; then
203203 if [[ " $BEAMTYPE " == " PbPb" ]]; then
204204 QC_JSON_EMC=$O2DPG_ROOT /DATA/production/qc-async/emc_PbPb.json
@@ -272,7 +272,7 @@ elif [[ -z ${QC_JSON_FROM_OUTSIDE:-} ]]; then
272272 if [[ $i == " PRIMVTX" ]] && ! has_detector_reco ITS; then continue ; fi
273273 if [[ $i == " ITSTPC" ]] && ! has_detectors_reco ITS TPC; then continue ; fi
274274 add_QC_JSON GLO_$i ${! DET_JSON_FILE}
275-
275+
276276 if [[ $i == " ITSTPC" ]]; then
277277 LOCAL_FILENAME=${JSON_FILES//* \ / }
278278 # replace the input sources depending on the detector compostition and matching detectors
0 commit comments