We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44d969f commit 7c00532Copy full SHA for 7c00532
1 file changed
topographic.py
@@ -26,7 +26,10 @@ def __init__(self, **kwargs):
26
self._frame_y_percent = 1.5
27
self._bounding_box = self.get_bounding_box()
28
self._frame_coords = self._setup_frame_coords()
29
- self._boundary_dict = {coord.id: coord for coord in self.topographic_boundary.coordinates}
+ 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 = {}
33
if not self._frame_coords:
34
raise ValueError("Cannot determine frame coordinates without valid coordinates.")
35
0 commit comments