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 #59

Merged
merged 3 commits into from Jan 29, 2019
Merged

DM-16535: Implement MetricRegistry #59

merged 3 commits into from Jan 29, 2019

Conversation

kfindeisen
Copy link
Member

This PR adds the configuration information required by MetricsControllerTask as of lsst/verify#33.

Now that MetricsControllerTask is configurable, the timing information can be
controlled from a config file instead of hard-coded.
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.

Two minor comments.

python/lsst/ap/verify/ap_verify.py Outdated Show resolved Hide resolved
"apPipe:differencer:subtract.subtractExposures": "ip_diffim.ImagePsfMatchTime",
"apPipe:differencer:detection.run": "meas_algorithms.SourceDetectionTime",
"apPipe:differencer:measurement.run": "ip_diffim.DipoleFitTime",
"apPipe:associator.run": "ap_association.AssociationTime",
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems unfortunate that the names had to be lifted out of the yaml and stringified: makes it a bit harder to scan. But probably inevitable.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think this is a usability improvement overall, since "what do we want to run?" is something Stack users expect to live in a Python config file. The only real problem is that for verification we want to run a lot of tasks.

I've discussed the "lots of tasks" aspect with @TallJimbo and he said the Gen 3 framework will eventually support grouping pipeline tasks in some way. Hopefully that will, if not make config files simpler, at least let us segregate the parts that are and are not likely to change.

@kfindeisen kfindeisen merged commit 211e2f2 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
2 participants