Skip to content

Throw warning when reading NRRD05 files to upgrade to ITK >= 5.2 #1602

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

Merged
merged 3 commits into from
Feb 22, 2021

Conversation

adamaji
Copy link
Contributor

@adamaji adamaji commented Feb 20, 2021

Signed-off-by: Adam Aji [email protected]

Fixes #1451 .

Description

Reading NRRD05 files errors out when reading the "measurement frame" field, which was addressed in InsightSoftwareConsortium/ITK#2270 thanks to @thewtex . Since the change isn't in a stable build yet, here we ignore the problem field so that the image can still be read, and throw a warning pointing users to upgrade to the release candidate version (5.2rc2) for correct loading if desired.

Status

Ready

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).

@adamaji adamaji force-pushed the reading-nrrd05 branch 2 times, most recently from 25320d5 to 820c8f2 Compare February 20, 2021 07:43
Copy link
Contributor

@wyli wyli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@wyli wyli enabled auto-merge (squash) February 20, 2021 09:27
@wyli wyli disabled auto-merge February 20, 2021 09:30
@aylward
Copy link
Collaborator

aylward commented Feb 21, 2021 via email

Copy link
Contributor

@Nic-Ma Nic-Ma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.
I agree with @wyli to set the min ITK version as 5.0 for current status.

Thanks.

@adamaji adamaji mentioned this pull request Feb 22, 2021
1 task
@wyli wyli enabled auto-merge (squash) February 22, 2021 11:03
@wyli wyli merged commit e9bf574 into Project-MONAI:master Feb 22, 2021
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.

ITKReader does not read NRRD05 images with 'measurement frame' field
5 participants