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

Fix Natural Neighbor Verification example #2761

Merged
merged 2 commits into from Oct 27, 2022

Conversation

dopplershift
Copy link
Member

Description Of Changes

During a refactor (I did) the example was broken, in terms of the visual output. A use reported this recent in esupport BQP-167169. This restores what was incorrectly dropped in the refactor, as well as fixes up a bit of debris in the relevant function.

Checklist

  • Fully documented

@dopplershift dopplershift requested a review from a team as a code owner October 25, 2022 23:19
@dopplershift dopplershift requested review from dcamron and removed request for a team October 25, 2022 23:19
@dopplershift
Copy link
Member Author

Current Image:

With this PR:

image

which matches the v0.11 docs:

@dopplershift dopplershift added Type: Bug Something is not working like it should Area: Docs Affects documentation Area: Examples Affects examples labels Oct 25, 2022
@dopplershift dopplershift added this to the October 2022 milestone Oct 25, 2022
dcamron
dcamron previously approved these changes Oct 27, 2022
Copy link
Member

@dcamron dcamron left a comment

Choose a reason for hiding this comment

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

Good fix! Thanks for the correct image.

During a refactor, part of a list comprehension selecting the
appropriate centers was incorrectly dropped. This restores it. Flagged
by e-support MPQ-167169.
The return type of this internal helper was updated in a refactor awhile
ago, but the docs were not similarly updated. Also go ahead and rename a
variable to make the code more clear.
@dopplershift
Copy link
Member Author

Rebased on #2763 which should fix the build. Need a review to get auto-merge to pass.

@dcamron dcamron merged commit 7982bbc into Unidata:main Oct 27, 2022
@dopplershift dopplershift deleted the fix-nn-example branch October 27, 2022 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Docs Affects documentation Area: Examples Affects examples Type: Bug Something is not working like it should
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants