8000 Remove key from n5 array metadata · zarr-developers/zarr-python@5f201fe · GitHub
[go: up one dir, main page]

Skip to content

Commit 5f201fe

Browse files
committed
Remove key from n5 array metadata
1 parent 17f54d5 commit 5f201fe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

zarr/n5.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,9 @@ def array_metadata_to_n5(array_metadata):
355355
compressor_config = compressor_config_to_n5(compressor_config)
356356
array_metadata['compression'] = compressor_config
357357

358+
if 'dimension_separator' in array_metadata:
359+
del array_metadata['dimension_separator']
360+
358361
return array_metadata
359362

360363

0 commit comments

Comments
 (0)
0