From b21f63c34ae65e1fa331c6b7248736098cea6174 Mon Sep 17 00:00:00 2001 From: dbcache Date: Tue, 11 Oct 2011 14:18:12 +0200 Subject: [PATCH] correction in motion mask script --- scripts/create_midP_masks-2.0.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/create_midP_masks-2.0.sh b/scripts/create_midP_masks-2.0.sh index 8a8babf..f5738e0 100755 --- a/scripts/create_midP_masks-2.0.sh +++ b/scripts/create_midP_masks-2.0.sh @@ -147,7 +147,9 @@ motion_mask() cd $dir # import variables specific to each patient - source ./variables + if test -e ./variables; then + source ./variables + fi #set other global variables mask_dir="MASK-${resample_spacing}mm-$resample_algo" -- 2.47.1