genthalili / searoute-py

A python package to calculate the shortest sea route between two points on Earth.
Apache License 2.0
63 stars 14 forks source link

Issue on Ports class it's getting modified #30

Closed genthalili closed 3 weeks ago

genthalili commented 4 months ago

In searoute main function, the node properties are getting modified when deleting a properties to_cty

Solution: copy first the node from Ports, then modify it safetly by using pop function to remove property key