Skip to content

Commit dcb94f7

Browse files
committed
Fixed update_icechunk bug to correctly handle variables arg when updating repo in single commit.
1 parent 7a75a6a commit dcb94f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OceanDataStore/object_store_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1909,7 +1909,7 @@ def _update_icechunk(
19091909
else:
19101910
# Update dataset using single commit to the repo:
19111911
logging.info(f"Updating Dataset {object_prefix}")
1912-
_update_icechunk_store(data=ds_filepath,
1912+
_update_icechunk_store(data=ds_filepath[variables],
19131913
dest=f"{bucket}/{object_prefix}",
19141914
repo=repo,
19151915
commit_message=commit_message,

0 commit comments

Comments
 (0)