Skip to content

Commit 28ee7bf

Browse files
committed
Do not parse TPC correction options if TPC is absent
1 parent d890d41 commit 28ee7bf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

prodtests/full-system-test/dpl-workflow.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,9 @@ done
332332
! has_detector CTP && [[ ${CTPLUMY_DISABLED:-} != 1 ]] && TPC_CORR_OPT+=" --disable-ctp-lumi-request"
333333
}
334334

335-
parse_TPC_CORR_SCALING $TPC_CORR_SCALING
335+
if has_detector TPC; then
336+
parse_TPC_CORR_SCALING $TPC_CORR_SCALING
337+
fi
336338

337339
if [[ $GPUTYPE != "CPU" && $(ulimit -e) -ge 25 && ${O2_GPU_WORKFLOW_NICE:-} == 1 ]]; then
338340
GPU_CONFIG_SELF+=" --child-driver 'nice -n -5'"

0 commit comments

Comments
 (0)