-
Notifications
You must be signed in to change notification settings - Fork 134
Open
Description
Whenever a run is manually halted, Siemens XA30 generates a valid enhanced DICOM with fewer slices. If that happens, dcm2niix splits the series into a nifti with the full volumes and another nifti with the partial volume (see rordenlab/dcm2niix#742). Currently, heudiconv doesn't handle this case, and crashes because it tries to overwrite the intact volume with the partial volume.
Possible solutions:
- Since dcm2niix will flag the partial volumes as derived, a solution would be to allow calling dcm2niix with the flag
-i y
, which ignores all derived series. But this is not really a great solution, since there are cases where we may want to convert also derived series. - dcm2niix adds a
derived
string under the bidsguess key in the output json. We could check if that string exists, but I guess it would work only when heudiconv is run with the flag--bids
- The partial volumes are valid nifti files with fewer slices than prescribed. If multiple files are generated from the same series, we could maybe add a check on the number of slices to detect the partial volumes.
Metadata
Metadata
Assignees
Labels
No labels