Skip to content

Commit 3796277

Browse files
calib-workflow.sh: CALIB_ASYNC_EXTRACTCOSMICS may be unset
The switch is defined (default 0) only by the O2DPG counterpart of the cosmics wiring; with an O2DPG without it every async workflow stopped at the test (unbound variable under set -u). Default to 0 here. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 7803bcf commit 3796277

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎prodtests/full-system-test/calib-workflow.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ if [[ $CALIB_ASYNC_EXTRACTTIMESERIES == 1 ]] ; then
7979
CONFIG_TPCTIMESERIES+=" --mult-max ${TPCTIMESERIES_MULT_MAX}"
8080
add_W o2-tpc-time-series-workflow "$DISABLE_ROOT_INPUT ${CONFIG_TPCTIMESERIES}"
8181
fi
82-
if [[ $CALIB_ASYNC_EXTRACTCOSMICS == 1 ]] ; then
82+
if [[ ${CALIB_ASYNC_EXTRACTCOSMICS:-0} == 1 ]] ; then
8383
# cosmic muons in collision data: TPC-only legs matched with the preset's selection, raw clusters of each cosmic -> o2_cosmics_full.root
8484
: ${COSMICS_PRESET:=physics-v1}
8585
COSMICS_ROAD_DETECTORS=

0 commit comments

Comments
 (0)