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-15901: Access metadata exclusively through Butler #49

Merged
merged 4 commits into from Nov 30, 2018

Conversation

kfindeisen
Copy link
Member

This PR treats metadata-based metrics as a special case of Butler-based metrics, removing measureFromMetadata from the measurements package's API. It also removes a lot of the vestigial infrastructure that was originally created to juggle metadata, greatly simplifying pipeline_driver.

pipeline_driver still uses metadata as a workaround for the lack of Butler support in lsst.verify.Job; it may be possible to remove this at a later date.

Copy link
Contributor

@morriscb morriscb left a comment

Choose a reason for hiding this comment

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

Okay, looks good an a lot simpler. Like you said I don't think it ends up affecting DM-15588 at all.

This change eliminates the need for code outside `measurements` to keep
track of the metadata at all.
This code was a vestige of when ap_pipe was not itself a Task, and
individual tasks' metadata stopped being used long ago.
@kfindeisen kfindeisen merged commit 0c57f67 into master Nov 30, 2018
@kfindeisen kfindeisen deleted the tickets/DM-15901 branch November 30, 2018 21:58
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