regions_cluster_from_rep_types

go-to Paint fragment voxel labels from rep→type map (env_cluster output path).

pocket_typing.regions_cluster_from_rep_types(regions, rep_to_type, pbc_groups)

Paint a fragment label grid from PBC group → rep → type.

Pass regions_pbc (when present) so surface colouring matches PBC-aware pocket footprints and max_r banding. Falls back to central-cell regions.