registerMetricsExample¶
- lsst.daf.butler.tests.registerMetricsExample(butler: Butler) None¶
Modify a repository to support reading and writing
MetricsExampleobjects.This method allows
MetricsExampleto be used with test repositories in any package without needing to provide a custom configuration there.- Parameters:
- butler
lsst.daf.butler.Butler The repository that needs to support
MetricsExample.
- butler
Notes
This method enables the following storage classes:
StructuredDataA
MetricsExamplewhosesummary,output, anddatamembers can be retrieved as dataset components.StructuredDataNoComponentsA monolithic write of a
MetricsExample.
These definitions must match the equivalent definitions in the test YAML files.