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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-21912: Implement PpdbMetricTask.runQuantum #65

Merged
merged 3 commits into from Dec 16, 2019
Merged

Conversation

kfindeisen
Copy link
Member

This PR lets ApdbMetricTask pass its output data ID from runQuantum to run, allowing fine-grained database metrics in Gen 3.

For clarity, the first commit is a direct copy of MetricTask.runQuantum, which has some nonstandard processing. I can't change the call to run without duplicating the rest of the code. 馃槥

Copy link

@isullivan isullivan left a comment

Choose a reason for hiding this comment

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

Looks good. Just a few minor suggestions about formatting and documentation.

python/lsst/verify/tasks/apdbMetricTask.py Show resolved Hide resolved
tests/butler_utils.py Outdated Show resolved Hide resolved
import lsst.utils.tests
from lsst.pex.config import Config
from lsst.daf.butler import Quantum
from lsst.pipe.base import Task, Struct

Choose a reason for hiding this comment

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

A really minor point, but you could alphabetize these imports.

Copy link
Member Author

Choose a reason for hiding this comment

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

The imports are in dependency order, which, while not required, is a convention across much of the LSST code.

tests/test_apdbMetricTask.py Show resolved Hide resolved
@kfindeisen kfindeisen merged commit f66fb74 into master Dec 16, 2019
@kfindeisen kfindeisen deleted the tickets/DM-21912 branch December 16, 2019 21:20
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