Details
-
Type:
Improvement
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: daf_butler
-
Labels:
-
Story Points:14
-
Epic Link:
-
Sprint:AP F20-6 (November), AP S21-2 (January)
-
Team:Alert Production
Description
Currently, the lsst.daf.butler.tests package provides a makeTestRepo function, which creates a repository and registers dummy data IDs, and a addDatasetType function, which registers dummy datasets. The inconsistent handling is confusing, and makes data ID creation less flexible and more verbose than it needs to be. Move that functionality to an addDataId function, and possibly generalize it so that the user can specify which combinations of IDs are valid.
See #dm-middleware for a feature request to be able to add data IDs to a collection.