-
Notifications
You must be signed in to change notification settings - Fork 8
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-42774: Rename difference image mask planes to include _TEMPLATE if they are set from the template #301
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine.
I think it is much better than before. I think this is more clear, and it makes more sense, as opposed to inherit mask planes from the template images without an easy way to track provenance.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The way github broke apart the line changes is wonky, but I can see how this works and it looks good.
@@ -1018,7 +1018,7 @@ def computeAveragePsf(exposure: afwImage.Exposure, | |||
return psfImage | |||
|
|||
|
|||
def detectTestSources(exposure): | |||
def detectTestSources(exposure, addMaskPlanes=None): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add the docs for this new optional parameter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just the docstring change. It looks good.
tests/test_detectAndMeasure.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
tests/test_subtractTask.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good as well.
6dbd57d
to
bb107ec
Compare
No description provided.