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

Rename source_detection to source_catalog #513

Merged
merged 6 commits into from
Dec 3, 2024

Conversation

braingram
Copy link
Collaborator

@braingram braingram commented Nov 20, 2024

This PR:

  • renames meta.source_detection to meta.source_catalog to align the name with the SourceCatalogStep that assigns this attribute.
  • renames meta.cal_step.source_detection to meta.cal_step.source_catalog
  • resolves the naming conflict with the source_catalog schema (used for SourceCatalog) caused by the above by renaming this to image_source_catalog (which agrees with mosaic_source_catalog)

See spacetelescope/romancal#1533 for more details.

Tasks

  • Update or add relevant rad tests.
  • Update relevant docstrings and / or docs/ page.
  • Does this PR change any schema files?
    • Schema changes were discussed at RAD Review Board meeting.
  • Does this PR change any API used downstream? (If not, label with no-changelog-entry-needed.)
News fragment change types:
  • changes/<PR#>.feature.rst: new feature
  • changes/<PR#>.bugfix.rst: fixes an issue
  • changes/<PR#>.doc.rst: documentation change
  • changes/<PR#>.removal.rst: deprecation or removal of public API
  • changes/<PR#>.misc.rst: infrastructure or miscellaneous change

Copy link

codecov bot commented Nov 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.24%. Comparing base (712888b) to head (a60eed1).
Report is 10 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #513   +/-   ##
=======================================
  Coverage   96.24%   96.24%           
=======================================
  Files           4        4           
  Lines         213      213           
=======================================
  Hits          205      205           
  Misses          8        8           

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

@braingram
Copy link
Collaborator Author

As this PR renames meta.cal_step.source_detection to meta.cal_step.source_catalog it likely makes sense to also rename the archive_catalog information:

destination: [ScienceRefData.s_source_detection]

This PR does not make that change (but I'm happy to add it) since that will need to be coordinated with the archive.

@PaulHuwe Is there a point of contact that can help answer what's required to update the archive_catalog entry?

@schlafly
Copy link
Collaborator

schlafly commented Dec 2, 2024

Jason and Kim (already reviewers on this PR) are the relevant contacts there.

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.

One question, but otherwise looks good. Please be sure to coordinate the catalog names with @kdupriestsci or @jbrookens before merging.

src/rad/resources/schemas/image_source_catalog-1.0.0.yaml Outdated Show resolved Hide resolved
@braingram braingram merged commit 3d43b91 into spacetelescope:main Dec 3, 2024
12 of 13 checks passed
@braingram braingram deleted the source_catalog branch December 3, 2024 21:04
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.

4 participants