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

DM-37412-v25: backport ExposureSummaryStats refactoring #673

Merged
merged 2 commits into from
Jan 14, 2023

Conversation

TallJimbo
Copy link
Member

No description provided.

...from lsst.pipe.tasks.ConsolidateVisitSummaryTask, which now no
longer depends on the details of what's in the summary stats.

The schema creation code is essentially unchanged; it duplicates all
field names and docs because I couldn't find a way to extract the
docstrings from the attributes that isn't worse than the duplication.

The update_record code is rewritten to use dataclasses.fields and
hence not depend on the fields in too much detail, and there's now
a from_record method for the opposite direction.
@TallJimbo TallJimbo merged commit a4dbf9a into v25.0.x Jan 14, 2023
@TallJimbo TallJimbo deleted the tickets/DM-37412-v25 branch January 14, 2023 13:00
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

1 participant