]> Creatis software - clitk.git/commitdiff
correction in motion mask script
authordbcache <dbcache@clavaire.champignons>
Tue, 11 Oct 2011 14:38:04 +0000 (16:38 +0200)
committerdbcache <dbcache@clavaire.champignons>
Tue, 11 Oct 2011 14:38:04 +0000 (16:38 +0200)
scripts/create_midP-2.0.sh

index 93290c860baca2be7924e711ede155c768857be8..8ea7e2c3903935ffc16c3927c5ce7a42b037916a 100755 (executable)
@@ -184,6 +184,8 @@ ref_phase=$2
 conf=$3
 source $conf
 
+cd `dirname $mhd4d`
+
 mkdir -p $log_dir
 mask_dir="MASK-${mask_interpolation_spacing}mm-$mask_interpolation_algorithm"