torchcell.ontology.print_schema_mappings
- print_schema_mappings(schema_config_path: str = 'biocypher/config/torchcell_schema_config.yaml', compact: bool = True) None[source]
Print a simple visualization of schema entities and their Biolink mappings.
Shows how torchcell schema entities map to Biolink ontology concepts via ‘is_a’ relationships, without fetching the full ontology.
- Parameters:
schema_config_path – Path to the schema config YAML file relative to project root
compact – If True, use compact format; if False, use expanded tree format
Example
>>> from torchcell.ontology import print_schema_mappings >>> print_schema_mappings() >>> print_schema_mappings(compact=False) # Expanded format