Skip to content

Commit

Permalink
Merge pull request #1600 from ANTsX/moreScriptFixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpa authored Sep 10, 2023
2 parents 46ab4e7 + 52361ec commit c40a681
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions Scripts/antsIntermodalityIntrasubject.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@
VERSION="0.0"

if ! command -v antsRegistration &> /dev/null
echo we cant find the antsRegistration program -- does not seem to exist. please \(re\)define \$PATH in your environment.
exit
fi
then
echo "we cant find the antsRegistration program -- does not seem to exist. please \(re\)define \$PATH in your environment."
exit
fi

if ! command -v antsApplyTransforms &> /dev/null
echo we cant find the antsApplyTransforms program -- does not seem to exist. please \(re\)define \$PATH in your environment.
exit
fi
then
echo "we cant find the antsApplyTransforms program -- does not seem to exist. please \(re\)define \$PATH in your environment."
exit
fi

function Usage {
cat <<USAGE
Expand Down

0 comments on commit c40a681

Please sign in to comment.