From 7c36ef1cd8a9eec0ad4568639c447d6aef3b0c10 Mon Sep 17 00:00:00 2001 From: Michael Chappell Date: Fri, 21 Apr 2017 10:43:32 +0100 Subject: [PATCH] Reapply bug fix for T1 and T2 values in asl_calib --- asl_calib.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/asl_calib.in b/asl_calib.in index 2b8f60a..a3a5fab 100755 --- a/asl_calib.in +++ b/asl_calib.in @@ -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 @@ -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