Skip to content

Commit 9986d60

Browse files
committed
bug fix
1 parent 2eb2a73 commit 9986d60

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

panopticon/spatial.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ def get_gdf(labels, polys):
2828
"geopandas", 'pip install geopandas')
2929
if exit_code != 0:
3030
return
31+
exit_code = import_check(
32+
"shapely", 'pip install shapely')
33+
if exit_code != 0:
34+
return
35+
from shapely.geometry import Polygon, Point
3136
import geopandas as gpd
3237

3338
# Creating a list to store Polygon geometries

0 commit comments

Comments
 (0)