Skip to content

DM-56116: Support lsst.images format for AP metric inputs - #494

Merged
isullivan merged 1 commit into
mainfrom
tickets/DM-56116
Oct 12, 2026
Merged

isullivan merged 1 commit into
mainfrom
tickets/DM-56116

Conversation

@isullivan

Copy link
Copy Markdown
Contributor

No description provided.

@isullivan
isullivan force-pushed the tickets/DM-56116 branch 3 times, most recently from 5193342 to 8a33308 Compare October 6, 2026 16:51
else:
name = f"{parent}.summaryStats"
storage_class = "ExposureSummaryStats"
self.data = dataclasses.replace(self.data, name=name, storageClass=storage_class)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Doing a connection dataset type rename after the config has been frozen is (AFAIK) new territory, and while I don't see a specific reason why it's unsound, that worries me. But given that you do need to do the storage class name override here (and that is an established pattern), let's give it a try. It might be that this a perfectly acceptable pattern we should use in other places, too.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I've expanded the docstring of the data input connection to clarify the behavior.

@isullivan
isullivan merged commit caa42ab into main Oct 12, 2026
14 checks passed
@isullivan
isullivan deleted the tickets/DM-56116 branch October 12, 2026 22:27
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.

2 participants