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-30926: Add SkySources to ImageDifferenceTask #544

Merged
merged 2 commits into from Jul 8, 2021
Merged

Conversation

morriscb
Copy link
Contributor

No description provided.

Debug skySources codeblock.
@@ -318,6 +318,15 @@ class ImageDifferenceConfig(pipeBase.PipelineTaskConfig,
doc="Do not attempt to run task if template covers less than this fraction of pixels."
"Setting to 0 will always attempt image subtraction"
)
doSkySources = pexConfig.Field(
Copy link
Member

Choose a reason for hiding this comment

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

I think doSkySources should not be allowed True if doDetection is False for consistency. In that case, the schema will be updated while the subtask is never run and diaSources will be returned as None and removed from the outputs (hopefully both in gen2 and gen3).

(There may be more inconsistencies around regarding what is done if doDetection is False in general; doDetection should perhaps be removed at some point....)

Set doSkySources default to False.
@morriscb morriscb merged commit 57749b3 into master Jul 8, 2021
@morriscb morriscb deleted the tickets/DM-30926 branch July 8, 2021 23:52
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