Skip to content

Commit 926c54e

Browse files
authored
Remove id from zarr3 config serialization
1 parent 5502dc8 commit 926c54e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

numcodecs/zarr3.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ def from_dict(cls, data: dict[str, JSON]) -> Self:
112112

113113
def to_dict(self) -> dict[str, JSON]:
114114
codec_config = self.codec_config.copy()
115+
codec_config.pop("id", None)
115116
return {
116117
"name": self.codec_name,
117118
"configuration": codec_config,

0 commit comments

Comments
 (0)