diff --git a/lesions_0.1 b/lesions_0.1 index 18efd9f33a990596cf22e7929f03e1f9c2b45c1f..af7f40cba62e2fc18ecf99fc571912afdee3b05a 100755 --- a/lesions_0.1 +++ b/lesions_0.1 @@ -14,7 +14,7 @@ if [ _${2} = _ ] ; then echo "Usage: lesions <t1_root> <t2_root> [-f]" echo "-f : second image is FLAIR not t2" - exit + exit 1 fi nclasses=3 diff --git a/lesions_0.2 b/lesions_0.2 index 831e8a4b9d605bd23bb28b906cd54ba32bdb4145..88aa1aa66e7af48b187169ca554f84e4074de04c 100755 --- a/lesions_0.2 +++ b/lesions_0.2 @@ -15,7 +15,7 @@ if [ _$2 = _ ] ; then echo "Usage: lesions <t1_root> <t2_root> [-f] [-lt <thr>]" echo "-f : second image is FLAIR not T2" echo "-lt <thr> : set lesion threshold (default 0.5)" - exit + exit 1 fi A=$1 diff --git a/lesions_0.3 b/lesions_0.3 index 8d42391a50f7d86b45b1dff839e62617f22856db..09abe2b3861a63db80427a91b4410469be764731 100644 --- a/lesions_0.3 +++ b/lesions_0.3 @@ -16,7 +16,7 @@ if [ _$2 = _ ] ; then echo "Usage: lesions <t1_root> <t2_root> [-f] [-lt <thr>]" echo "-f : second image is FLAIR not T2" echo "-lt <thr> : set lesion threshold (default 0.5)" - exit + exit 1 fi A=$1 diff --git a/siena b/siena index a2f30bb2349645305e500771cd1e3f1d4e7a352c..2bd80c6500c234fffd4fbf8186dda2a80d5919d4 100755 --- a/siena +++ b/siena @@ -21,7 +21,7 @@ Usage() { echo "-b <b> : ignore from b (mm) downwards in MNI152/Talairach space; b should probably be -ve" echo "-S \"sienadiffopts\" : options to pass to siena_diff timepoint differencing (inside double-quotes), e.g. -S \"-s -i 20\"" echo "" - exit + exit 1 } if [ _$FSLDIR = _ ] ; then diff --git a/siena_flow2std b/siena_flow2std index e266b2cfe87134b4e5787d179e1379a0eca6a6ce..abc9a1525234c2ddc5a446dc1189c28c2e7f4eb3 100755 --- a/siena_flow2std +++ b/siena_flow2std @@ -12,7 +12,7 @@ Usage() { echo "Usage: siena_flow2std <fileroot2> <fileroot2> [-d]" echo "-d : debug (don't delete intermediate files)" - exit + exit 1 } if [ _$FSLDIR = _ ] ; then diff --git a/sienax b/sienax index 107ad81f5f4304ba8c016fbb35049897d344c54d..07b91df53b9639652d50e22e4fea9d1654a1556d 100755 --- a/sienax +++ b/sienax @@ -22,7 +22,7 @@ Usage() { echo "-lm <mask> : use lesion (or lesion+CSF) mask to remove incorrectly labelled \"grey matter\" voxels" echo "-S \"segopts\" : options to pass to FAST segmentation (inside double-quotes), e.g. -S \"-i 20\"" echo "" - exit + exit 1 } if [ _$FSLDIR = _ ] ; then