registerMetricsExample¶
- lsst.daf.butler.tests.registerMetricsExample(butler)¶
Modify a repository to support reading and writing
MetricsExample
objects.This method allows
MetricsExample
to 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:
StructuredData
A
MetricsExample
whosesummary
,output
, anddata
members can be retrieved as dataset components.StructuredDataNoComponents
A monolithic write of a
MetricsExample
.