With afni_src.tgz downloaded 10/17/2008, @auto_tlrc creates output with "NONE" as the suffix instead of nothing i.e.
@auto_tlrc -base TT_icbm452+tlrc -input anat+orig.
produces anatNONE+tlrc.
The following patch fixes this.
--judd
--- @auto_tlrc.orig 2009-10-17 17:24:33.402077141 -0400
+++ @auto_tlrc 2009-10-17 17:24:25.103324014 -0400
@@ -153,10 +153,6 @@
else
@ cnt ++
set suf = "$argv[$cnt]"
- if ("$suf" == "none" || "$suf" == "NONE" || "$suf" == "None") then
- echo "Suffix not used."
- set suf = ''
- endif
set donext = 0
endif
endif
@@ -273,6 +269,10 @@
echo "Error: Need both -base and -input parameters"
goto END
endif
+ if ("$suf" == "none" || "$suf" == "NONE" || "$suf" == "None") then
+ echo "Suffix not used."
+ set suf = ''
+ endif
goto SET_REF_PATH
SET_REF_PATH_RETURN: