heudiconv
heudiconv copied to clipboard
feat: rename BIDS files for multi-orientation series.
(rebase of https://github.com/nipy/heudiconv/pull/441 , many years later I know slightly more what I am doing.)
The purpose of that PR is to rename files adding acq-orient
when there are multiple files with varying orientation generated by dcm2niix ( ...._i00000[0-9].json/nii.gz
) . Otherwise heudiconv want to rename the separate files to the same BIDS name and crash.
The obvious main use-case would be 3-plane localizers. You're gonna tell me: why do you want to bidsify localizers? Well, why not? Also, we started exporting the localizers combined+uncombined as a potential way to QA the head-coil elements. And I would like to have that future tool running on clean BIDS, not on messy dicoms.