phenotypic.schema.header_to_module#
- phenotypic.schema.header_to_module() dict[str, REMBI_MODULE][source]#
Map every known column header to its REMBI module.
Walks every
MeasurementInfosubclass exported fromphenotypic.schemaand reads each member’sresolved_rembi_module. Cached (lru_cache): the mapping derives entirely from the import-time schema enums, which are fixed once the package is imported, so there is no staleness concern and the hot-path callers (manifest builder + metadata accessor) skip the walk on every call after the first. The returned dict is read-only by contract; callers must not mutate it (mirrors_label_to_category()).- Return type: