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-29869: remove some imageDifference options that are now in task defaults #79

Merged
merged 1 commit into from Jun 2, 2021

Conversation

kherner
Copy link
Contributor

@kherner kherner commented Jun 1, 2021

No description provided.

@kherner kherner requested a review from mrawls June 1, 2021 22:56
@kherner kherner changed the title remove some imageDifference options that are now in task defaults DM-29869: remove some imageDifference options that are now in task defaults Jun 1, 2021
restore doSelectSources=True for calexpTemplates.py
@kherner kherner merged commit 915b840 into master Jun 2, 2021
@kherner kherner deleted the tickets/DM-29869 branch June 2, 2021 00:39
Comment on lines -69 to -70
# Don't have source catalogs for templates
self.differencer.doSelectSources = False
Copy link
Member

@kfindeisen kfindeisen Jun 7, 2021

Choose a reason for hiding this comment

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

I think that, in the case of ap_verify, this actually belongs in our dataset configs (since whether or not we have template source catalogs is a function of how the templates were generated). @mrawls, is this reasoning correct? I noticed this got changed in the ImageDifferenceTask defaults, so I'm wondering if there's a more fundamental reason for doSelectSources = False.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I am not immediately aware of a situation where we want to use template source catalogs in image differencing, even if they do happen to exist. I'm sure we could come up with a situation (DRP?), but changing the task default to line up with what we almost always use seems correct to me.

I like the idea of configuring this at the ap_verify dataset level when the new doSelectSources = False default is not appropriate.

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

3 participants