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-30030: Make calibration source selection consistent between gen2 and gen3 middleware - part deux #113

Merged
merged 2 commits into from May 21, 2021

Conversation

laurenam
Copy link
Contributor

No description provided.

@@ -370,6 +370,7 @@ def testGetPixelRanges(self):
the WCS.
"""
diaConfig = LoadDiaCatalogsConfig()
diaConfig.pixelMargin = 300
Copy link
Member

Choose a reason for hiding this comment

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

I presume this is necessary because the test has some sensitive thresholds you don't want to tinker with? If so, please add a comment to that effect, so nobody thinks it's more important than that.

This parameter should be kept in sync with the padding settings elsewhere
in the codebase.  In particular, with the pixelMargin value set for the
LoadReferenceObjectsConfig, which now defaults to 250.
The tests here were set using the old default of 300 for pixelMargin
(now updated to 250).  Rather than change the tests, override the
config in the test to the value it was conditioned on.
@laurenam laurenam merged commit ba660ad into master May 21, 2021
@laurenam laurenam deleted the tickets/DM-30030 branch May 21, 2021 03:18
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