Skip to content

Commit

Permalink
enforce geometries annotation for apply_vectorcube Open-EO/openeo-geo…
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenVerstraelen committed Sep 26, 2024
1 parent 264d3ba commit 9dbee33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openeo/udf/run_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ def run_udf_code(code: str, data: UdfData) -> UdfData:
elif (
fn_name in ["apply_vectorcube"]
and "geometries" in params
and _get_annotation_str(params["geometries"].annotation) == "geopandas.geodataframe.GeoDataFrame"
and "cube" in params
and _annotation_is_data_array(params["cube"].annotation)
):
Expand Down

0 comments on commit 9dbee33

Please sign in to comment.