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

1026: NaN Warning #1065

Merged
merged 35 commits into from
Jul 28, 2021
Merged

1026: NaN Warning #1065

merged 35 commits into from
Jul 28, 2021

Conversation

DolicaAkelloEgwel
Copy link
Collaborator

@DolicaAkelloEgwel DolicaAkelloEgwel commented Jul 23, 2021

Issue

Closes #1026

Description

Shows messages if the image contains zeroes/NaNs/negative values when the recon window has been opened. Also shows an overlay of red pixels.

Testing

  • Added a GUI test for the overlay
  • Added tests for the error messages
  • Added tests for the NaN/zero/negative value check methods

Acceptance Criteria

Check that the tests pass. Check that the message appears when an image contains the unwanted values.

Documentation

Updated release notes. Also mentioned the underscore issue in the file loading documentation.

@DolicaAkelloEgwel DolicaAkelloEgwel changed the title 1026 nan warning 1026: NaN Warning Jul 26, 2021
@DolicaAkelloEgwel DolicaAkelloEgwel marked this pull request as ready for review July 26, 2021 15:58
@DolicaAkelloEgwel DolicaAkelloEgwel marked this pull request as draft July 27, 2021 11:55
@DolicaAkelloEgwel DolicaAkelloEgwel marked this pull request as ready for review July 28, 2021 10:16
Copy link
Collaborator

@samtygier-stfc samtygier-stfc left a comment

Choose a reason for hiding this comment

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

Works well. Thanks.

@samtygier-stfc samtygier-stfc merged commit 4b7929f into master Jul 28, 2021
@samtygier-stfc samtygier-stfc deleted the 1026_nan_warning branch July 28, 2021 13:19
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.

Recon warn if input has NaNs
2 participants