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

Switch skymatch to use stcal #1465

Merged

Conversation

WilliamJamieson
Copy link
Collaborator

The shared skymatch code by romancal and jwst has been moved into stcal by spacetelescope/stcal#310. This PR switches romancal's skymatch to use this code.

Tasks

  • request a review from someone specific, to avoid making the maintainers review every PR
  • add a build milestone, i.e. 24Q4_B15 (use the latest build if not sure)
  • Does this PR change user-facing code / API? (if not, label with no-changelog-entry-needed)
    • write news fragment(s) in changes/: echo "changed something" > changes/<PR#>.<changetype>.rst (see below for change types)
    • update or add relevant tests
    • update relevant docstrings and / or docs/ page
    • start a regression test and include a link to the running job (click here for instructions)
      • Do truth files need to be updated ("okified")?
        • after the reviewer has approved these changes, run okify_regtests to update the truth files
  • if a JIRA ticket exists, make sure it is resolved properly
news fragment change types...
  • changes/<PR#>.general.rst: infrastructure or miscellaneous change
  • changes/<PR#>.docs.rst
  • changes/<PR#>.stpipe.rst
  • changes/<PR#>.associations.rst
  • changes/<PR#>.scripts.rst
  • changes/<PR#>.mosaic_pipeline.rst
  • changes/<PR#>.patch_match.rst

steps

  • changes/<PR#>.dq_init.rst
  • changes/<PR#>.saturation.rst
  • changes/<PR#>.refpix.rst
  • changes/<PR#>.linearity.rst
  • changes/<PR#>.dark_current.rst
  • changes/<PR#>.jump_detection.rst
  • changes/<PR#>.ramp_fitting.rst
  • changes/<PR#>.assign_wcs.rst
  • changes/<PR#>.flatfield.rst
  • changes/<PR#>.photom.rst
  • changes/<PR#>.flux.rst
  • changes/<PR#>.source_detection.rst
  • changes/<PR#>.tweakreg.rst
  • changes/<PR#>.skymatch.rst
  • changes/<PR#>.outlier_detection.rst
  • changes/<PR#>.resample.rst
  • changes/<PR#>.source_catalog.rst

Copy link

codecov bot commented Oct 17, 2024

Codecov Report

Attention: Patch coverage is 71.42857% with 2 lines in your changes missing coverage. Please review.

Project coverage is 80.02%. Comparing base (c8ba216) to head (e91b332).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
romancal/skymatch/skymatch_step.py 71.42% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1465      +/-   ##
==========================================
+ Coverage   78.17%   80.02%   +1.85%     
==========================================
  Files         116      112       -4     
  Lines        7683     6844     -839     
==========================================
- Hits         6006     5477     -529     
+ Misses       1677     1367     -310     

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

@mcara
Copy link
Member

mcara commented Nov 9, 2024

Would it be possible to run regression tests on this PR and spacetelescope/stcal#310 branch?

@WilliamJamieson WilliamJamieson force-pushed the refactor/move_skymatch_to_stcal branch from 94a3cef to 5fcd1c1 Compare February 17, 2025 18:19
@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Feb 17, 2025
@WilliamJamieson WilliamJamieson marked this pull request as ready for review February 17, 2025 18:20
@WilliamJamieson WilliamJamieson requested review from a team as code owners February 17, 2025 18:20
@nden nden added this to the 25Q3_B18 milestone Feb 17, 2025
@nden nden added the skymatch label Feb 17, 2025
@schlafly
Copy link
Collaborator

This looks great to me if regtests pass!

@nden
Copy link
Collaborator

nden commented Feb 17, 2025

Is there a regression test run with this PR and stcal/main?

@WilliamJamieson WilliamJamieson force-pushed the refactor/move_skymatch_to_stcal branch from 5fcd1c1 to 1dfd8aa Compare February 18, 2025 18:07
@WilliamJamieson
Copy link
Collaborator Author

The regression tests pass: https://github.com/spacetelescope/RegressionTests/actions/runs/13397227205

Looks like the CI failures are due to webbpsf changes.

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Feb 18, 2025
@WilliamJamieson
Copy link
Collaborator Author

Docs appear to be failing due to

WARNING: failed to reach any of the inventories with the following issues:
intersphinx inventory 'https://webbpsf.readthedocs.io/en/latest/objects.inv' not readable due to ValueError: unknown or unsupported inventory version: ValueError('invalid inventory header: ')

This looks also webbpsf related.

@WilliamJamieson WilliamJamieson force-pushed the refactor/move_skymatch_to_stcal branch 2 times, most recently from 296508a to 0cb8bc6 Compare February 24, 2025 17:01
@WilliamJamieson WilliamJamieson force-pushed the refactor/move_skymatch_to_stcal branch from 0cb8bc6 to e91b332 Compare February 24, 2025 17:41
@WilliamJamieson
Copy link
Collaborator Author

Copy link
Collaborator

@schlafly schlafly left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@schlafly schlafly merged commit d2ff8de into spacetelescope:main Feb 24, 2025
30 of 31 checks passed
@WilliamJamieson WilliamJamieson deleted the refactor/move_skymatch_to_stcal branch February 24, 2025 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation skymatch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants