From ade50bdf0bd64507eb61018aeb63600ef34dc828 Mon Sep 17 00:00:00 2001
From: Moises Fernandez <moisesf@fmrib.ox.ac.uk>
Date: Wed, 26 Jun 2013 10:07:54 +0000
Subject: [PATCH] Change name of mean_fsamples to mean_fsumsamples

---
 CUDA/bedpostx_postproc_gpu.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/CUDA/bedpostx_postproc_gpu.sh b/CUDA/bedpostx_postproc_gpu.sh
index ba93e37..fd76ac0 100644
--- a/CUDA/bedpostx_postproc_gpu.sh
+++ b/CUDA/bedpostx_postproc_gpu.sh
@@ -32,11 +32,11 @@ do
 done
 
 if [ `${FSLDIR}/bin/imtest ${subjdir}.bedpostX/mean_f1samples` -eq 1 ];then
-    ${FSLDIR}/bin/fslmaths ${subjdir}.bedpostX/mean_f1samples -mul 0 ${subjdir}.bedpostX/mean_fsamples
+    ${FSLDIR}/bin/fslmaths ${subjdir}.bedpostX/mean_f1samples -mul 0 ${subjdir}.bedpostX/mean_fsumsamples
     fib=1
     while [ $fib -le $numfib ]
     do
-	 ${FSLDIR}/bin/fslmaths ${subjdir}.bedpostX/mean_fsamples -add ${subjdir}.bedpostX/mean_f${fib}samples ${subjdir}.bedpostX/mean_fsamples
+	 ${FSLDIR}/bin/fslmaths ${subjdir}.bedpostX/mean_fsumsamples -add ${subjdir}.bedpostX/mean_f${fib}samples ${subjdir}.bedpostX/mean_fsumsamples
 	fib=$(($fib + 1))
     done	
 fi
-- 
GitLab