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

Ensure each invalid peak has a unique value #560

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

psavery
Copy link
Collaborator

@psavery psavery commented Oct 2, 2023

Previously, all invalid peaks would have a value of -999. This would make them difficult to distinguish, however, in our spots viewer in HEXRDGUI.

Instead, now all invalid peaks still have a negative number (starting at -100), but they all have unique negative numbers. This allows us to ensure that the correct images are being displayed for whichever invalid peak the user wishes to see.

Previously, all invalid peaks would have a value of `-999`. This would
make them difficult to distinguish, however, in our spots viewer in
HEXRDGUI.

Instead, now all invalid peaks still have a negative number (starting
at `-100`), but they all have unique negative numbers. This allows us to
ensure that the correct images are being displayed for whichever invalid
peak the user wishes to see.

Signed-off-by: Patrick Avery <[email protected]>
@psavery psavery requested a review from bnmajor October 2, 2023 20:00
Copy link
Collaborator

@bnmajor bnmajor left a comment

Choose a reason for hiding this comment

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

LGTM

@psavery psavery merged commit 4bb01a1 into master Oct 3, 2023
6 checks passed
@psavery psavery deleted the visualize-invalid-peaks branch October 23, 2023 20:20
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.

2 participants