[Swift-devel] multiple arguments

Ben Clifford benc at hawaga.org.uk
Wed May 2 04:08:34 CDT 2007


I'm trying to run softmean, one of the tools in the fmri workflow that I 
used before for tutorial purposes.

At present I run it like this:

softmean @atlas.img overwrite scalingsuffix @sliced[0].img @sliced[1].img 
@sliced[2].img @sliced[3].img;

so that each of four image filenames are passed in as separate parameters.

This isn't so nice when 'sliced' has != 4 elements.

I considered trying this:

softmean @atlas.img overwrite scalingsuffix @sliced[*].img;

But the @sliced[*].img appears to to turn into a single string argument 
listing all of the filenames, which softmean finds displeasing.

-- 



More information about the Swift-devel mailing list