tree_class_for_info#
- lsst.images.serialization.tree_class_for_info(info: ArchiveInfo, path: ResourcePathExpression) type[ArchiveTree]#
Return the registered
ArchiveTreesubclass forinfo’s schema.Parameters#
- info
Basic archive info whose
schema_nameselects the tree class.- path
Path being opened, used only for the error message.
Raises#
- ArchiveReadError
If no class is registered for the schema.