Skip to content

Conversation

@bendhouseart
Copy link
Contributor

@bendhouseart bendhouseart commented May 29, 2025

Fixes include:

  • Import Issues with the metadata.py file, renamed to pet_metadata.py to avoid import metadata collisions
  • Added error handling such that a series of dicoms that is incomplete will cause dcm2niix4pet to crash instead of
    producing a "garbage" nifti with a reduced number of frames. Dcm2niix raises warnings and errors about this and
    we now check for "Missing images". Adding additional checks to nifti dimensionality post dcm2niix to catch should
    the error message in dcm2niix change.

Closes #348 #347


📚 Documentation preview 📚: https://pet2bids--349.org.readthedocs.build/en/349/

@bendhouseart bendhouseart merged commit 61375c2 into main May 30, 2025
13 checks passed
@bendhouseart bendhouseart deleted the development branch May 30, 2025 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ENH] Add Error Handling for Incomplete PET data (missing frames, 3d when is 4d) [ENH] Add Error Catching For When a Session is Missing Dicoms

2 participants