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

Add on spring cleaning #486

Open
wants to merge 22 commits into
base: master
Choose a base branch
from

Conversation

nden
Copy link
Collaborator

@nden nden commented Dec 1, 2023

This PR adds on #457. It includes all changes by @Cadair in that PR.
All, but the SlicedWCS, tests pass locally.

@Cadair @perrygreenfield

Cadair and others added 22 commits October 12, 2023 17:14
This creates a `BaseCoordinateFrame` class, definining the minimal API
for a coordinate frame with descriptive docstrings. This is done mainly
as an exercise to easily review and document the API. Also add
significant docstring to the module describing how and why coordinate
frames work.
The goal of this refactoring is to be able to remove `Frame.coordinates`
and `Frame.coordinate_to_quantity` and rely on the Astropy WCSAPI
machinery to do those conversions.
coordinates() and coordinate_to_quantity() are replaced by APE 14 methods
This highlights some API changes here.
@nden nden requested a review from a team as a code owner December 1, 2023 15:50
Copy link

codecov bot commented Dec 1, 2023

Codecov Report

Attention: 10 lines in your changes are missing coverage. Please review.

Comparison is base (8117b3c) 87.25% compared to head (4685bcd) 87.05%.
Report is 6 commits behind head on master.

Files Patch % Lines
gwcs/coordinate_frames.py 97.05% 5 Missing ⚠️
gwcs/wcs.py 91.37% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #486      +/-   ##
==========================================
- Coverage   87.25%   87.05%   -0.20%     
==========================================
  Files          22       22              
  Lines        3814     3717      -97     
==========================================
- Hits         3328     3236      -92     
+ Misses        486      481       -5     

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

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.

None yet

2 participants