Skip to content

Commit

Permalink
fix: prevent unbound var error on irods acc
Browse files Browse the repository at this point in the history
  • Loading branch information
boasvdp committed Sep 5, 2024
1 parent 9b28031 commit 9c89b0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions run_pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ else
exit 1
fi

set +u
#check if there is an exclusion file, if so change the parameter
if [ ! -z "${irods_input_sequencing__run_id}" ] && [ -f "/data/BioGrid/NGSlab/sample_sheets/${irods_input_sequencing__run_id}.exclude" ]
then
EXCLUSION_FILE="/data/BioGrid/NGSlab/sample_sheets/${irods_input_sequencing__run_id}.exclude"
fi
set -u

if [ ! -d "${input_dir}" ] || [ ! -d "${output_dir}" ]
then
Expand Down

0 comments on commit 9c89b0f

Please sign in to comment.