Skip to content

Commit

Permalink
Merge pull request #1458 from ANTsX/aan4MaskCheck
Browse files Browse the repository at this point in the history
BUG: Needed to exit immediately if mask is missing
  • Loading branch information
cookpa authored Nov 28, 2022
2 parents 9f8e682 + f60e876 commit 53e4c5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Scripts/antsAtroposN4.sh
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ for (( i = 0; i < ${#ANATOMICAL_IMAGES[@]}; i++ ))
if [[ ! -f "${ATROPOS_SEGMENTATION_MASK}" ]];
then
echo "Required mask image \"${ATROPOS_SEGMENTATION_MASK}\" does not exist."
exit 1
fi

FORMAT=${ATROPOS_SEGMENTATION_PRIORS}
Expand Down

0 comments on commit 53e4c5b

Please sign in to comment.