I am trying to run the below datagrabber:
#grab copes, varcopes, and transforms
datasource = pe.Node(interface=nio.DataGrabber(infields=['subject_id'],
outfields=['transforms', 'cope1s', 'cope2s', 'varcope1s', 'varcope2s']),
name = 'datasource')
datasource.inputs.base_directory = '/mnt/nfs/proj/delab/Ricky/RoE/workingdir'
datasource.inputs.template = '*'
datasource.inputs.field_template = dict(transforms='registration/_subject_id_%s/%s', # transforms
cope1s='modelfit/_subject_id_%s/conestimate/mapflow/_conestimate0/cope1.nii.gz', # cope1s
cope2s='modelfit/_subject_id_%s/conestimate/mapflow/_conestimate0/cope2.nii.gz', # cope2s
varcope1s='modelfit/_subject_id_%s/conestimate/mapflow/_conestimate0/varcope1.nii.gz', # varcope1s
varcope2s='modelfit/_subject_id_%s/conestimate/mapflow/_conestimate0/varcope2.nii.gz') #varcope2s
datasource.inputs.template_args = dict(transforms=[['subject_id', ['standard_register/transform1Warp.nii.gz', 'standard_register/transform0Affine.mat',
'structural_register/transform1Warp.nii.gz', 'structural_register/transform0Affine.mat']]],
copes1=[['subject_id']],
copes2=[['subject_id']],
varcopes1=[['subject_id']],
varcopes2=[['subject_id']])
I am simply passing in the list of subjects in subject_id. Any ideas what I might be messing up? Similar code I have run perfectly fine with other data sets, and I don't see any differences here...