Skip to content

Commit

Permalink
Merge branch '128-pipes-not-under-roads' of https://github.com/Imperi…
Browse files Browse the repository at this point in the history
…alCollegeLondon/SWMManywhere into 128-pipes-not-under-roads
  • Loading branch information
Dobson committed Apr 25, 2024
2 parents 0801381 + ca84160 commit 5ff9766
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions swmmanywhere/graph_utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,8 @@ def __call__(self,
elif data.get(omit, None):
# Check whether the 'omit' property of edge is not None
edges_to_remove.add((u, v, keys))
for u, v, keys in edges_to_remove:
G.remove_edge(u, v, keys)
for edges in edges_to_remove:
G.remove_edge(*edges)
return G

@register_graphfcn
Expand Down

0 comments on commit 5ff9766

Please sign in to comment.