Skip to content

Commit

Permalink
remove OrderedGraph support
Browse files Browse the repository at this point in the history
  • Loading branch information
bdpedigo committed Mar 24, 2023
1 parent b219e5f commit 4877065
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions graspologic/pipeline/embed/_types.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
from typing import Union

import networkx as nx
from pkg_resources import parse_version

major = parse_version(nx.__version__).major

if major >= 3:
NxGraphType = Union[nx.Graph, nx.DiGraph]
else:
NxGraphType = Union[nx.Graph, nx.DiGraph, nx.OrderedGraph, nx.OrderedDiGraph]
NxGraphType = Union[nx.Graph, nx.DiGraph]

0 comments on commit 4877065

Please sign in to comment.