Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/eolearn/core/eodata.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ class _FeatureDictGeoDf(_FeatureDict[gpd.GeoDataFrame]):
"""_FeatureDict object specialized for GeoDataFrames."""

def __init__(self, feature_dict: Dict[str, gpd.GeoDataFrame], feature_type: FeatureType):
if not feature_type.is_vector:
if not feature_type.is_vector():
raise ValueError(f"Feature type {feature_type} does not represent a vector feature.")
super().__init__(feature_dict, feature_type)

Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
codecov
hypothesis
moto
mypy
mypy>=0.990
nbval
pylint>=2.14.0
pytest>=7.0.0
Expand Down