help > RE: Help with Batch scripting using 3d nii files
Jul 25, 2012  03:07 AM | Mac Shine
RE: Help with Batch scripting using 3d nii files
Hi Alfredo

Thanks for getting back to me so quickly.

To clarify your assumption, we only have one session per subject and they are in their own folder. The data structure is:

/data/patients/x001/functional
                             /structural
/data/patients/x002/functional
                             /structural
etc.

In that case, should I delete the lines related to "SessionSubFolder" (i.e. - lines 2, 4 and 7) as well as the other references to Sessions?


The other problem I'm having is that conn doesn't seem to want to recognise my .nii files. I know that they exist, as I can navigate to them and view them in SPM Display, however whenever I try to run the batch, I get the following error message:

??? Error using ==> spm_vol>subfunc at 111
File "/Volumes/My Passport/fMRI/FOG/RS T1s/FNFoff/Freezers/x002/functional/vol001.nii" does not exist.


Any ideas where I'm going wrong?

Mac

Threaded View

TitleAuthorDate
Mac Shine Jul 24, 2012
Alfonso Nieto-Castanon Jul 25, 2012
RE: Help with Batch scripting using 3d nii files
Mac Shine Jul 25, 2012
Alfonso Nieto-Castanon Jul 25, 2012
Mac Shine Jul 26, 2012
Alfonso Nieto-Castanon Jul 27, 2012