Skip to content

Commit

Permalink
remove use of f-string equals expression for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Fred Thomas committed Jul 6, 2022
1 parent 2beb736 commit 6e1e637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snkit/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def split_multilinestrings(network):
geo_types = set(split_edges.geom_type)
if geo_types != {'LineString'}:
raise ValueError(
f"exploded edges -> not only LineStrings {geo_types=}"
f"exploded edges are of type(s) {geo_types} but should only be LineString"
)

return Network(nodes=network.nodes, edges=split_edges)
Expand Down

0 comments on commit 6e1e637

Please sign in to comment.