Skip to content

Commit

Permalink
Test adding suffix_to_remove, as directory was already reduced to it'…
Browse files Browse the repository at this point in the history
…s parent and would be re-reduced to parent in write_assets. Open-EO/openeo-geopyspark-driver#888
  • Loading branch information
EmileSonneveld committed Dec 16, 2024
1 parent 122a18f commit 80a47ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openeo_driver/datacube.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ def write_assets(
log.warning(
f"Exporting vector cube {self} to legacy, non-standard JSON format"
)
return self.to_legacy_save_result().write_assets(directory)
return self.to_legacy_save_result().write_assets(directory / "suffix_to_remove")

gdf = self._as_geopandas_df(flatten_prefix=options.get("flatten_prefix"))
if format_info.format == "Parquet":
Expand Down

0 comments on commit 80a47ff

Please sign in to comment.