heudiconv procedure tries to specify outputs for containers-run, anticipating what may be created or would be there already if user reruns spec2bids (or the procedure directly).
Part of that is a task-modality.json file. However, bids-modality isn't accessible via substitutions for that call. It is only part of the spec for a particular series, but we call heudiconv via the dicomseries:all snippet. However, it should be possible to specify globs for that purpose.
heudiconv procedure tries to specify outputs for containers-run, anticipating what may be created or would be there already if user reruns
spec2bids
(or the procedure directly). Part of that is a task-modality.json file. However,bids-modality
isn't accessible via substitutions for that call. It is only part of the spec for a particular series, but we call heudiconv via thedicomseries:all
snippet. However, it should be possible to specify globs for that purpose.