Skip to content

Commit

Permalink
Added filename length restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
dvanbeek committed Feb 2, 2015
1 parent 7ca33c7 commit 26fa9f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rostr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,12 @@ export DIR_OUTPUT=$(readlink -f $DIR_OUTPUT)
set -e
mv $ROSTRLOG $DIR_OUTPUT

if [[ ! -z $NAME_MULTISAMPLE ]]; then
if [[ ! -z $NAME_MULTISAMPLE ]] && [[ ${#NAME_MULTISAMPLE} -lt 150 ]]; then
export NAME_MULTISAMPLE=${NAME_MULTISAMPLE}
else
export NAME_MULTISAMPLE="_MULT"
fi
echo 'Multisample file name used: ' $NAME_MULTISAMPLE

# Call the plumber to check for defects and shortcuts in our pipeline
source $DIR_BASE/plumbr.sh
Expand Down

0 comments on commit 26fa9f1

Please sign in to comment.