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 WCS to schemas #351

Merged
merged 11 commits into from
Jan 22, 2024
Merged

Add WCS to schemas #351

merged 11 commits into from
Jan 22, 2024

Conversation

nden
Copy link
Collaborator

@nden nden commented Jan 10, 2024

Part of RCAL-749

Closes #

This PR addresses ...

Checklist

@nden nden marked this pull request as draft January 10, 2024 15:02
Copy link
Collaborator

@ddavis-stsci ddavis-stsci left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

codecov bot commented Jan 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (274a10b) 95.32% compared to head (bb82ee2) 95.32%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #351   +/-   ##
=======================================
  Coverage   95.32%   95.32%           
=======================================
  Files           4        4           
  Lines         171      171           
=======================================
  Hits          163      163           
  Misses          8        8           

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

@nden nden marked this pull request as ready for review January 12, 2024 14:13
@nden
Copy link
Collaborator Author

nden commented Jan 12, 2024

Comment on lines +21 to +23
anyOf:
- tag: tag:stsci.edu:gwcs/wcs-*
- type: "null"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is this null? It is not a required field by the object.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks for pointing this out. It needs to be a required field.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Should it still be null, or do we always expect a gwcs object in the end?

Copy link
Collaborator

@PaulHuwe PaulHuwe left a comment

Choose a reason for hiding this comment

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

LGTM

@nden
Copy link
Collaborator Author

nden commented Jan 22, 2024

Merging - assuming this doesn't need to be approved for the database team

@nden nden merged commit 2c6ffc4 into spacetelescope:main Jan 22, 2024
13 checks passed
stscieisenhamer pushed a commit to stscieisenhamer/rad that referenced this pull request Jan 23, 2024
* add a WCS object to schemas

* using gwcs schemas

* add gwcs tag to valid schemas

* use 1.0.0 version of the wcs tag

* fix test

* add another wcs tag

* use wild card with wcs schema

* fix test_schema

* add a change log

* another fix for tesst_schemas

* make wcs required
@nden nden added this to the Build 13 milestone Feb 26, 2024
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.

5 participants