You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently heudiconv prefers to use the task entity when trying to match fmaps to funcs.
elifmatching_parameter=="CustomAcquisitionLabel":
modality=op.basename(op.dirname(json_file))
ifmodality=="func":
# extract the <task> entity:custom_label=BIDSFile.parse(op.basename(json_file))["task"]
else:
# extract the <acq> entity:custom_label=BIDSFile.parse(op.basename(json_file))["acq"]
While this is initially unintuitive (the option is called CustomAcquisitionLabel after all) I found it's also problematic when there is more than one task. How would I match a single fmap to multiple functionals here?
Wouldn't it be better to try a shared acq label first and then only fall back to the task entity?