Skip to content

Commit 537c953

Browse files
EmileSonneveldPeter Van Bouwel
authored andcommitted
Test adding suffix_to_remove, as directory was already reduced to it's parent and would be re-reduced to parent in write_assets. Open-EO/openeo-geopyspark-driver#888
1 parent 89f1b7b commit 537c953

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openeo_driver/datacube.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ def write_assets(
589589
log.warning(
590590
f"Exporting vector cube {self} to legacy, non-standard JSON format"
591591
)
592-
return self.to_legacy_save_result().write_assets(directory)
592+
return self.to_legacy_save_result().write_assets(directory / "suffix_to_remove")
593593

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

0 commit comments

Comments
 (0)