cell_curator.validate_hierarchy_nesting

cell_curator.validate_hierarchy_nesting(level_assignments, *, cell_membership=None)[source]

Enforce one parent per label and optional one-cell-one-leaf membership.

Parameters:
Return type:

dict[str, Any]