diff --git a/graspologic/pipeline/__init__.py b/graspologic/pipeline/__init__.py index 8b90689bd..56813acd2 100644 --- a/graspologic/pipeline/__init__.py +++ b/graspologic/pipeline/__init__.py @@ -15,6 +15,7 @@ is to bridge this gap. """ + # Copyright (c) Microsoft Corporation. # Licensed under the MIT license. diff --git a/graspologic/pipeline/embed/omnibus_embedding.py b/graspologic/pipeline/embed/omnibus_embedding.py index cffe2bcb0..cdd7a988a 100644 --- a/graspologic/pipeline/embed/omnibus_embedding.py +++ b/graspologic/pipeline/embed/omnibus_embedding.py @@ -165,9 +165,9 @@ def omnibus_embedding_pairwise( for graph in graphs[1:]: union_graph.add_edges_from(graph.edges()) - union_graph_lcc: Union[ - nx.Graph, nx.Digraph, nx.OrderedGraph, nx.OrderedDiGraph - ] = largest_connected_component(union_graph) + union_graph_lcc: Union[nx.Graph, nx.Digraph, nx.OrderedGraph, nx.OrderedDiGraph] = ( + largest_connected_component(union_graph) + ) union_graph_lcc_nodes: Set[Any] = set(list(union_graph_lcc.nodes())) union_node_ids = np.array(list(union_graph_lcc_nodes))