Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions examples/example_graph_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
print(graph)

# Some extra info about the graph
print(graph.get_graph_info())
print(graph.utils.get_graph_info())

# Print species of each node
for node in graph.nodes(data=False):
Expand All @@ -39,7 +39,7 @@
)

# Plot only surface transforms
surface_subgraph = graph.get_subgraph("surface_to_surface")
surface_subgraph = graph.utils.get_subgraph("surface_to_surface")
plot_graph(
surface_subgraph,
graph_type="surface",
Expand All @@ -48,7 +48,7 @@
)

# Plot only volume transforms
volume_subgraph = graph.get_subgraph("volume_to_volume")
volume_subgraph = graph.utils.get_subgraph("volume_to_volume")
plot_graph(
volume_subgraph,
graph_type="volume",
Expand Down
2 changes: 1 addition & 1 deletion examples/example_surface_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
print("Label surface-to-surface transformation failed.")

# see updated graph
surface_subgraph = graph.get_subgraph("surface_to_surface")
surface_subgraph = graph.utils.get_subgraph("surface_to_surface")
plot_graph(
surface_subgraph,
graph_type="surface",
Expand Down
Loading