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-23616: Run converted ap_verify testdata through gen3 pipeline #362

Merged
merged 2 commits into from Mar 26, 2020

Conversation

kfindeisen
Copy link
Member

This PR fixes some connection-handling logic in CalibrateTask. The changes to the task itself are straightforward; most of the code changes are from creating a new unit test framework for CalibrateTask and creating enough mock data to satisfy CalibrateTask.runQuantum.

Copy link
Contributor

@parejkoj parejkoj left a comment

Choose a reason for hiding this comment

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

See comments. My only real question is what exactly _checkDoRefcats tests when the bool options are changed.

python/lsst/pipe/tasks/calibrate.py Outdated Show resolved Hide resolved
tests/test_calibrate.py Show resolved Hide resolved
CalibrateTask treats reference catalogs as an input, but removes them
from the input collection when they are used. This lead to the
counterintuitive behavior where the catalogs would be passed to `run`
(triggering an "unknown keyword" error) only if they were not needed.
The Gen 2 code checked whether the matches existed; the Gen 3
code did not.
@kfindeisen kfindeisen merged commit c7474b8 into master Mar 26, 2020
@kfindeisen kfindeisen deleted the tickets/DM-23616 branch March 26, 2020 23:10
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