hi tom,
MapNodes and IdentityInterfaces are not good combinations. i would classify this as a bug - with a complicated fix. mapnodes expand at runtime, identityinterfaces disappear pre runtime as part of graph expansion.
perhaps the solution is as follows.
1. make your identity interface return simply a subject id and set it's iterables to subjects.
2. add a function node that takes the subject id and returns code, groupnumber, time
3. connect the output of the function node to the rest of the code.
re: dcm2nii
it creates softlinks for only the files it needs to convert. the normal dcm2nii program will otherwise convert every single dcm session in a given directory.
also if you are converting/organizing dicoms the following gist might be of help:
caveats:
1. we have only tested it on siemens dicoms
2. our local code might be more upto date
3. i can send you more detail on how to use it