Skip to content

Commit

Permalink
Reapply bug fix for T1 and T2 values in asl_calib
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Chappell committed May 2, 2017
1 parent 6e3f82a commit 7c36ef1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions asl_calib.in
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ echo "Tissue reference : $tissref" >> $log

# command line override of default T1 and T2
if [ ! -z $T1rin ]; then
if [ `imtest $T1rin` ]; then
if [ `${FSLDIR}/bin/imtest $T1rin` -gt 0 ]; then
# we have been supplied with a T1 image - record that here to process later
T1rim=$T1rin
echo "Loading T1 image for reference region: T1im" >> $log
Expand All @@ -318,7 +318,7 @@ if [ ! -z $T1rin ]; then
fi
fi
if [ ! -z $T2rin ]; then
if [ `imtest $T2rin` ]; then
if [ `${FSLDIR}/bin/imtest $T2rin` -gt 0 ]; then
# we have been supplied with a T2 image - record that here to process later
T2rim=$T2rin
echo "Loading T2 image for reference region: T2im" >> $log
Expand Down

0 comments on commit 7c36ef1

Please sign in to comment.