Skip to content

Commit 7c00532

Browse files
committed
bug fixes
1 parent 44d969f commit 7c00532

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

topographic.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ def __init__(self, **kwargs):
2626
self._frame_y_percent = 1.5
2727
self._bounding_box = self.get_bounding_box()
2828
self._frame_coords = self._setup_frame_coords()
29-
self._boundary_dict = {coord.id: coord for coord in self.topographic_boundary.coordinates}
29+
if self.topographic_boundary is not None:
30+
self._boundary_dict = {coord.id: coord for coord in self.topographic_boundary.coordinates}
31+
else:
32+
self._boundary_dict = {}
3033
if not self._frame_coords:
3134
raise ValueError("Cannot determine frame coordinates without valid coordinates.")
3235

0 commit comments

Comments
 (0)