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

HLA-1323: s_region fix using simplify-polyline #1884

Conversation

s-goldman
Copy link
Collaborator

@s-goldman s-goldman commented Sep 23, 2024

Resolves HLA-1323

This PR fixes the s_region issues that we have been observing in the SVMs. It uses the simplify-polyline package instead of skimage.corner_harris. Results from initial testing are shown in the Jira ticket.

These code changes were generously contributed by @rlwastro.

Checklist for maintainers

  • added entry in CHANGELOG.rst within the relevant release section
  • updated or added relevant tests
  • updated relevant documentation
  • added relevant label(s)
  • ran regression tests, post a link to the Jenkins job below.
    How to run regression tests on a PR

Jenkins test

@s-goldman s-goldman added the bug label Sep 23, 2024
Copy link
Collaborator

@rlwastro rlwastro left a comment

Choose a reason for hiding this comment

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

Changing the simplify threshold to 10 is required. Otherwise everything looks good to me.

Copy link
Collaborator

@rlwastro rlwastro 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!

@s-goldman s-goldman dismissed rlwastro’s stale review September 23, 2024 17:11

Changes addressed.

@s-goldman s-goldman marked this pull request as ready for review September 23, 2024 20:04
@s-goldman s-goldman requested review from mdlpstsci and a team as code owners September 23, 2024 20:04
@s-goldman
Copy link
Collaborator Author

While I will continue to test programs that were previously troublesome, this change appears to have fixed the issue.

@s-goldman s-goldman merged commit 2f1e8ab into spacetelescope:main Sep 23, 2024
18 checks passed
@s-goldman s-goldman deleted the hla-1323_s_region_fix_rick_fix_09_23_24 branch September 23, 2024 20:05
s-goldman added a commit to s-goldman/drizzlepac that referenced this pull request Sep 24, 2024
s-goldman added a commit to s-goldman/drizzlepac that referenced this pull request Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants