Skip to content

Commit

Permalink
Black
Browse files Browse the repository at this point in the history
  • Loading branch information
AjeyPaiK committed Nov 9, 2023
1 parent 7eabe27 commit 88873d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlup/utils/mask.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def _analyse_validity(shapely_polygons: list[MultiPolygon | Polygon]) -> list[Po
for polygon in shapely_polygons:
# Apply buffer(0) to only self-intersecting polygons.
quality_of_polygon: str = explain_validity(polygon)
if 'Self-intersection' in quality_of_polygon:
if "Self-intersection" in quality_of_polygon:
polygon = polygon.buffer(0)
try:
if not polygon.is_valid:
Expand Down

0 comments on commit 88873d3

Please sign in to comment.