Skip to content

Commit acf91d8

Browse files
Update dem_handler/utils/spatial.py
Co-authored-by: Caitlin Adams <25995927+caitlinadams@users.noreply.github.com>
1 parent d8260da commit acf91d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dem_handler/utils/spatial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ def check_dem_type_in_bounds(dem_type: str, bounds: BBox) -> bool:
540540
If the provided dem_type cannot be matched to either the Copernicus 30m global DEM or the REMA dem.
541541
"""
542542

543-
if type(bounds) == BoundingBox:
543+
if isinstance(bounds, BoundingBox):
544544
bounds = bounds.bounds
545545

546546
dem_type_match = dem_type.upper()

0 commit comments

Comments
 (0)