Skip to content
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

DICOM redactor improvement: Adding exceptions for when DICOM file does not have pixel data #1104

Merged
merged 6 commits into from
Jul 6, 2023

Conversation

niwilso
Copy link
Collaborator

@niwilso niwilso commented Jul 3, 2023

Change Description

DICOM files do not necessarily always have pixel data (e.g., DICOM directory files). As a result, we need to ensure the redactor and verification engine are able to properly raise an error when such files are passed in. This PR introduces exception handling and updated tests for this.

Issue reference

This PR fixes issue #XX

Checklist

  • I have reviewed the contribution guidelines
  • I have signed the CLA (if required)
  • My code includes unit tests
  • All unit tests and lint checks pass locally
  • My PR contains documentation updates / additions if required

@niwilso niwilso marked this pull request as ready for review July 3, 2023 19:33
@niwilso niwilso merged commit 23a89af into main Jul 6, 2023
23 checks passed
@omri374 omri374 deleted the niwilso/dicom/skip-no-pixel-files branch October 25, 2023 12:31
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.

3 participants