when selecting remove area from existing annotation while the new polygon covers the entire existing annotation, the following uncaught exception occured:
File "/usr/local/lib/python3.7/site-packages/SlideRunner-1.31.0-py3.7.egg/SlideRunner/gui/annotation.py", line 163, in removeFromPolygon diffPolyCoords = diffPolygon.exterior.coords.xy AttributeError: 'list' object has no attribute 'xy'
when selecting remove area from existing annotation while the new polygon covers the entire existing annotation, the following uncaught exception occured:
File "/usr/local/lib/python3.7/site-packages/SlideRunner-1.31.0-py3.7.egg/SlideRunner/gui/annotation.py", line 163, in removeFromPolygon diffPolyCoords = diffPolygon.exterior.coords.xy AttributeError: 'list' object has no attribute 'xy'
This PR fixes that.