Skip to content

Commit

Permalink
changed Iterable[list] to Iterable[Point]
Browse files Browse the repository at this point in the history
  • Loading branch information
Tjalling-dejong committed Dec 3, 2024
1 parent 90ecd9a commit 80d4857
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fm2prof/RegionPolygonFile.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def _validate_regions(self) -> None:
self._check_overlap()

def classify_points(
self, points: Iterable[list], property_name: str = "id"
self, points: Iterable[Point], property_name: str = "id"
) -> list:
return self.classify_points_with_property(points, property_name=property_name)

Expand All @@ -251,7 +251,7 @@ def read_section_file(self, file_path):
self.parse_geojson_file(file_path)
self._validate_sections()

def classify_points(self, points: Iterable[list]):
def classify_points(self, points: Iterable[Point]):
return self.classify_points_with_property(points, property_name="section")

def _validate_sections(self):
Expand Down

0 comments on commit 80d4857

Please sign in to comment.