When creating ring ignition patterns I get an error that says "AttributeError: can't set attribute 'coords'". I believe this error comes from ring.py line 82: port_line.coords = list(port_line.coords)[::-1]. LineStrings are immutable so the coordinates cannot be overwritten in that manner.
This alternative seems to work: replace line 82 with port_line = LineString(list(port_line.coords)[::-1]) . That line overwrites port_line with a linestring with the reversed coordinates. You also need to add an import statement: from shapely.geometry import LineString
When creating ring ignition patterns I get an error that says "AttributeError: can't set attribute 'coords'". I believe this error comes from ring.py line 82: port_line.coords = list(port_line.coords)[::-1]. LineStrings are immutable so the coordinates cannot be overwritten in that manner.
This alternative seems to work: replace line 82 with port_line = LineString(list(port_line.coords)[::-1]) . That line overwrites port_line with a linestring with the reversed coordinates. You also need to add an import statement: from shapely.geometry import LineString