mkt.databases.conservation.load_conservation_renderer
- mkt.databases.conservation.load_conservation_renderer(cls, **kwargs)[source]
Build a conservation renderer from the shipped
KLIFSConservationData.Deserializes the packaged artifact (via
mkt.schema.io_utils.load_conservation_data()) and injects its distances + linkage intoclsthroughKLIFSHierarchicalConservation.from_conservation_data(), so no clustering is recomputed. If the artifact is not found, falls back to buildingclsfrom the live KLIFS panel with a warning (rungenerate_conservation_datato persist it).- Parameters:
cls (type[KLIFSHierarchicalConservation]) – The renderer (sub)class to instantiate.
**kwargs – Renderer-specific keyword arguments forwarded to the constructor.
- Returns:
An instance of
cls.- Return type: