From 3ad4520f95c041bbdd1752057ccd1d739dae439e Mon Sep 17 00:00:00 2001 From: Chiara Zampolli Date: Tue, 3 Dec 2024 16:06:14 +0100 Subject: [PATCH] Bug fix when selecting TFs (#1829) --- DATA/production/configurations/asyncReco/setenv_extra.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/DATA/production/configurations/asyncReco/setenv_extra.sh b/DATA/production/configurations/asyncReco/setenv_extra.sh index 15c201f4d..6a1ee1f63 100644 --- a/DATA/production/configurations/asyncReco/setenv_extra.sh +++ b/DATA/production/configurations/asyncReco/setenv_extra.sh @@ -128,11 +128,12 @@ export ADD_EXTRA_WORKFLOW= export ARGS_EXTRA_PROCESS_o2_ctf_reader_workflow+=" --allow-missing-detectors $REMAPPING" # possibility to only process some TFs -if [[ -z ${ALIEN_JDL_RUN_TIME_SPAN_FILE+x} ]]; then +if [[ ! -z ${ALIEN_JDL_RUN_TIME_SPAN_FILE} ]]; then export ARGS_EXTRA_PROCESS_o2_ctf_reader_workflow+=" --run-time-span-file $ALIEN_JDL_RUN_TIME_SPAN_FILE " -fi -if [[ ${ALIEN_JDL_INVERT_IRFRAME_SELECTION} == 1 ]]; then - export ARGS_EXTRA_PROCESS_o2_ctf_reader_workflow+=" --invert-irframe-selection " + # the following option makes sense only if we have the previous + if [[ ${ALIEN_JDL_INVERT_IRFRAME_SELECTION} == 1 ]]; then + export ARGS_EXTRA_PROCESS_o2_ctf_reader_workflow+=" --invert-irframe-selection " + fi fi # other settings