Skip to content

Commit

Permalink
Merge pull request #1785 from ANTsX/amvt2_usage
Browse files Browse the repository at this point in the history
BUG: Fix script usage
  • Loading branch information
cookpa authored Aug 1, 2024
2 parents 477cfe6 + 4baa949 commit 9aebf5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Scripts/antsMultivariateTemplateConstruction2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Compulsory arguments (minimal command line requires SGE/PBS cluster, otherwise u
line is the location of the input image. One can also specify more than
one file for each image for multi-modal template construction (e.g. t1 and t2).
For the multi-modal case, the templates will be consecutively numbered (e.g.
${OutputPrefix}template0.nii.gz, ${OutputPrefix}template1.nii.gz, ...).
{OutputPrefix}template0.nii.gz, {OutputPrefix}template1.nii.gz, ...).
NB: All images to be added to the template should be in the same directory, and this
script should be invoked from that directory.
Expand Down Expand Up @@ -589,7 +589,7 @@ if [[ ${OSTYPE:0:6} == 'darwin' ]];
fi

# Provide output for Help
if [[ "$1" == "-h" ]];
if [[ $# -eq 0 || "$1" == "-h" ]];
then
Usage >&2
fi
Expand Down

0 comments on commit 9aebf5a

Please sign in to comment.