Skip to content

Commit 6a8cb0c

Browse files
Possibility to limit the number of CTF files for debug
1 parent 5c66ba5 commit 6a8cb0c

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

DATA/production/configurations/asyncReco/async_pass.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,18 @@ if [[ -f list.list ]]; then
4848
echo -e "\n"
4949
fi
5050

51+
# Could need sometimes to iterate just a subset of the input files
52+
#
53+
[ -z ${ALIEN_JDL_INPUTFILELIMIT} ] && ALIEN_JDL_INPUTFILELIMIT=($(cat list.list|wc -l))
54+
head -${ALIEN_JDL_INPUTFILELIMIT} list.list > list.listtmp && mv list.listtmp list.list
55+
echo "Will iterate ${ALIEN_JDL_INPUTFILELIMIT} input files"
56+
57+
if [[ -f list.list ]]; then
58+
echo "Processing will be on the following list of files:"
59+
cat list.list
60+
echo -e "\n"
61+
fi
62+
5163
POSITIONAL=()
5264
while [[ $# -gt 0 ]]; do
5365
key="$1"

0 commit comments

Comments
 (0)