[Swift-user] Returning arrays of files

Ben Clifford benc at hawaga.org.uk
Tue Aug 26 03:34:21 CDT 2008


Probably what is happening is that in the below section, Swift can't deal 
with mapper parameter inputs being constructed dynamically. One day 
hopefully it will be able to - it makes sense in the language.

This situation is a bit annoying - you could use simple mapper if these 
were input files...

> string bImageNames[];
> 
> iterate i {
>   bImageNames[i] = @strcat("block_",i,".nii.gz");
>   wImageNames[i] = @strcat("window_",i,".nii.gz");
> }until(i==numPoints-1);
> 
> file bImages[]<array_mapper;files=bImageNames>;

-- 




More information about the Swift-user mailing list