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

JP-3636: Fix crash in tweakreg due to MalformedPolygonError #8657

Merged
merged 3 commits into from
Jul 18, 2024

Conversation

mcara
Copy link
Member

@mcara mcara commented Jul 17, 2024

Resolves JP-3636

Closes #8513

This PR fixes a crash in the tweakreg step due to MalformedPolygonError in the spherical_geometry. The error was fixed via spacetelescope/tweakwcs#205

Checklist for PR authors (skip items if you don't have permissions or they are not applicable)

  • added entry in CHANGES.rst within the relevant release section
  • updated or added relevant tests
  • updated relevant documentation
  • added relevant milestone
  • added relevant label(s)
  • ran regression tests, post a link to the Jenkins job below.
  • All comments are resolved
  • Make sure the JIRA ticket is resolved properly

Regression test was run here: https://plwishmaster.stsci.edu:8081/job/RT/job/JWST-Developers-Pull-Requests/1608

@mcara mcara added this to the Build 11.1 milestone Jul 17, 2024
@mcara mcara self-assigned this Jul 17, 2024
@mcara mcara requested a review from a team as a code owner July 17, 2024 23:10
@mcara mcara requested review from nden and tapastro July 17, 2024 23:10
Copy link

codecov bot commented Jul 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.21%. Comparing base (347f3ce) to head (31e6ff3).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8657      +/-   ##
==========================================
- Coverage   60.23%   60.21%   -0.02%     
==========================================
  Files         370      370              
  Lines       38636    38630       -6     
==========================================
- Hits        23272    23261      -11     
- Misses      15364    15369       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

CHANGES.rst Outdated
in the ``tweakreg`` step due to a ``MalformedPolygonError`` exception being
raised by the ``spherical_geometry`` package for some data sets. For more
details, see JP-3636 and
https://github.com/spacetelescope/tweakwcs/pull/205. [#8657]
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is also user facing documentation and we don't keep references to JP. here. Can you replace the last sentence with
Fix is in spacetelescope/tweakwcs#205.

@nden nden merged commit de39de0 into spacetelescope:master Jul 18, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

niriss image3 crashes with "MalformedPolygonError: intersection: find all intersections"
2 participants