def get_graph_no_active_edges(graph):
    """
    Get a molecular graph without the active edges

    Arguments:
        graph (nx.Graph):

    Returns:
        (nx.Graph):
    """

    graph_no_ae = graph.copy()
    active_edges = [edge for edge in graph.edges
                    if graph.edges[edge]['active'] is True]

    for (i, j) in active_edges:
        graph_no_ae.remove_edge(i, j)

    return graph_no_ae