Nice to know. :-)
Just for the record, as it can be useful for others: if using a text file,
no need to use extension (.nii.gz) for the filenames, so the script can be
kept simpler (hmm, I should have written this!). Or use wildcards if the
filenames are consistent, as Mark suggested. It is easier.
|