Skip to content

Commit

Permalink
chore: Digraph -> DiGraph
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjayankur31 committed Sep 8, 2023
1 parent 324d5d4 commit 4f5e2c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neuroml/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def print_hierarchy(tree, indent=4, current_ind=0):
print_hierarchy(sub_tree, indent=indent, current_ind=current_ind + indent)


def get_hier_graph_networkx(graph: networkx.Digraph, hier: Dict[str, Any]):
def get_hier_graph_networkx(graph: networkx.DiGraph, hier: Dict[str, Any]):
"""Get a networkx graph of the NeuroML hierarchy
:param graph: graph object to populate
Expand All @@ -267,7 +267,7 @@ def get_hier_graph_networkx(graph: networkx.Digraph, hier: Dict[str, Any]):

def get_relative_component_path(src: str, dest: str, root: Type =
schema.NeuroMLDocument, graph:
Optional[networkx.Digraph] = None):
Optional[networkx.DiGraph] = None):
"""Construct a path from src component to dest in a neuroml document.
Useful when referring to components in other components
Expand Down

0 comments on commit 4f5e2c1

Please sign in to comment.