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-16535: Implement MetricRegistry #33

Merged
merged 6 commits into from Jan 29, 2019
Merged

DM-16535: Implement MetricRegistry #33

merged 6 commits into from Jan 29, 2019

Conversation

kfindeisen
Copy link
Member

This PR adds infrastructure to lsst.verify.compatibility for configuring MetricTasks, and modifies MetricsControllerTask to use it. Since this change makes MetricsControllerTask usable outside of carefully controlled environments, this PR also adds task documentation for MetricTask and MetricsControllerTask.

@kfindeisen kfindeisen force-pushed the tickets/DM-16535 branch 2 times, most recently from dcfc87a to 960a3b3 Compare January 28, 2019 20:21
@parejkoj
Copy link
Contributor

A variety of questions, most of which can probably be cleared up with revised documentation or added inline-comments in the code.

Exactly how registerMultiple works and what its use-case is is still not clear to me.

I hope you can move your flatten to somewhere else in the stack (assuming we don't have one). I do wish that was a python built-in.

Yay deleting code!

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.

A variety of questions/clarifications requested.

python/lsst/verify/compatibility/metricRegistry.py Outdated Show resolved Hide resolved
tests/test_metricRegistry.py Show resolved Hide resolved
tests/test_metricsController.py Show resolved Hide resolved
tests/test_metricsController.py Outdated Show resolved Hide resolved
tests/test_metricsController.py Outdated Show resolved Hide resolved
tests/test_metricsController.py Show resolved Hide resolved
This commit removes most of the hardcoding from MetricsControllerTask.
This class was added in DM-16642, but I declined to document it because
I thought it shouldn't be emphasized to the user. However, the
framework for documenting subtasks (in this case, of
MetricsControllerTask) requires that each default subtask have a task
topic page and not just an API entry.
@kfindeisen kfindeisen merged commit e293ec9 into master Jan 29, 2019
@kfindeisen kfindeisen deleted the tickets/DM-16535 branch January 29, 2019 22:12
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

4 participants