Well, we thought we were up and running! But we realized that we are experiencing issues with 3dmerge.
Here's the part we're having problems with:
foreach d (0 1)
if ($d == 0) then
set name = All
else
if ($d == 1) then
set name = Early
endif
endif
3dmerge -prefix NEWFILENAME -ghits 2 -gcount 'mask+tlrc[$d]' label.file+tlrc
In the past, using this foreach loop with 3dmerge has worked for us, now we are adding the -gcount option and we're having problems. Our problem is that the files are created and the entire script runs through without any error messages....HOWEVER, 3dmerge is using d = 0 even when it should be using d = 1. It uses the first sub brik throughout (d = 0) even when it is going through the d = 1 loop.
Is there some catch to using gcount or 3dmerge in this way?
Thanks
Jennine