-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhanced dicom fixes #45
base: master
Are you sure you want to change the base?
Conversation
to indicate no distortion correction applied - note: should confirm this is the case.
Two issues needed to be addressed when we forked heudiconv, one regarding time zones and the other metadata. The time zone changes have now been merged upstream. The additional problem of filling the metadata sidecar file with 4d and 5d dicom metadata is not resolved upstream afaik. The problem needs to be addressed in one of heudiconv’s dependencies, dcmstack: Honestly, we may want to use minmeta by default even after upstream supports n-d enhanced dicoms. Heudiconv converts dicom to nifti using dcm2niix, but if minmeta is not used it will convert the dicom to nifti a second time with dcmstack only for the purpose of concatenating dicom metadata for the bids sidecar file, which is inefficient especially for some of our larger datasets. If users need more metadata than is provided with the minmeta option, we can always require them to extract it themselves using their heuristics file and defining a custom_callable function as done here |
I posted this in the issue, but repeating here for context The use of --minmeta wasn't making a difference for me (ie it was still choking on the Bruker dicoms), and applying the commit you had (nipy/heudiconv@def8691) to the latest heudiconv doesn't fix things either, not sure if it is the same issue or a new one though..
I think I will just merge this PR to get the 3T functional again, then can make a new issue for the above |
use heudiconv fork with unstacked dcm commit This uses the latest heudiconv and cherry-picks the commit from AlanKuurstra: support extended metadata from single unstacked dicom, dimension > 3
This tries to address the specific issues in #44, related to the CFMM 3T software upgrade.
The issue is that the Bruker enhanced dicoms still require our custom fork (https://github.com/AlanKuurstra/heudiconv, branch=unstacked_dcm). @AlanKuurstra, what was the reason we opted to not make a PR into heudiconv for those changes? That would be the ideal situation, otherwise we could perhaps just update that branch with latest heudiconv changes and continue as is (perhaps that is what we do in the short-term anyhow)..