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-35721: Fix docs for image differencing tasks #231

Merged
merged 2 commits into from Aug 29, 2022
Merged

Conversation

kfindeisen
Copy link
Member

This PR makes a few documentation fixes discovered while creating mock tasks for lsst/ap_verify#167.

The `backgroundModel` output was documented as a `Chebyshev1Function2D`, but it
is produced by a subtask that only promises the less specific `Function2D`.
There is no constraint in the config that enforces a Chebyshev model, either.
Copy link
Contributor

@isullivan isullivan left a comment

Choose a reason for hiding this comment

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

I will follow up with code changes on DM-36043 to fix the unnecessary code that was highlighted by your documentation changes.

Comment on lines -270 to +272
selectSources : `lsst.afw.table.SourceCatalog`, optional
selectSources : `lsst.afw.table.SourceCatalog`
Identified sources on the science exposure.
idFactory : `lsst.afw.table.IdFactory`
idFactory : `lsst.afw.table.IdFactory`, optional
Copy link
Contributor

Choose a reason for hiding this comment

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

This documentation fix correctly matches the implementation, but that implementation is wrong. selectSources should be removed entirely, and idFactory should not have a default. Go ahead with these cleanups, and I will fix the code on DM-36043.

@kfindeisen kfindeisen merged commit 7914737 into main Aug 29, 2022
@kfindeisen kfindeisen deleted the tickets/DM-35721 branch August 29, 2022 20:01
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