def calculate_incorrect_name_dict(graph: BELGraph) -> Mapping[str, List[str]]:
    """Get missing names grouped by namespace."""
    missing = defaultdict(list)

    for namespace, name in _iterate_namespace_name(graph):
        missing[namespace].append(name)

    return dict(missing)
def calculate_incorrect_name_dict ( graph : BELGraph ) -> Mapping [ str , List [ str ] ] : missing = defaultdict ( list ) for namespace , name in _iterate_namespace_name ( graph ) : missing [ namespace ] . append ( name ) return dict ( missing )
Get missing names grouped by namespace.