Skip to content

Commit 3ad4520

Browse files
Bug fix when selecting TFs (#1829)
1 parent 6e7e34a commit 3ad4520

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

DATA/production/configurations/asyncReco/setenv_extra.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,12 @@ export ADD_EXTRA_WORKFLOW=
128128
export ARGS_EXTRA_PROCESS_o2_ctf_reader_workflow+=" --allow-missing-detectors $REMAPPING"
129129

130130
# possibility to only process some TFs
131-
if [[ -z ${ALIEN_JDL_RUN_TIME_SPAN_FILE+x} ]]; then
131+
if [[ ! -z ${ALIEN_JDL_RUN_TIME_SPAN_FILE} ]]; then
132132
export ARGS_EXTRA_PROCESS_o2_ctf_reader_workflow+=" --run-time-span-file $ALIEN_JDL_RUN_TIME_SPAN_FILE "
133-
fi
134-
if [[ ${ALIEN_JDL_INVERT_IRFRAME_SELECTION} == 1 ]]; then
135-
export ARGS_EXTRA_PROCESS_o2_ctf_reader_workflow+=" --invert-irframe-selection "
133+
# the following option makes sense only if we have the previous
134+
if [[ ${ALIEN_JDL_INVERT_IRFRAME_SELECTION} == 1 ]]; then
135+
export ARGS_EXTRA_PROCESS_o2_ctf_reader_workflow+=" --invert-irframe-selection "
136+
fi
136137
fi
137138

138139
# other settings

0 commit comments

Comments
 (0)