Skip to content

Commit 864773d

Browse files
committed
Add tests for dimension_separator in array meta for N5Stores
1 parent 46ebb44 commit 864773d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

zarr/tests/test_storage.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1228,6 +1228,7 @@ def test_init_array(self):
12281228
assert default_compressor.get_config() == compressor_config
12291229
# N5Store always has a fill value of 0
12301230
assert meta['fill_value'] == 0
1231+
assert meta['dimension_separator'] == '.'
12311232

12321233
def test_init_array_path(self):
12331234
path = 'foo/bar'
@@ -1326,6 +1327,7 @@ def test_init_array(self):
13261327
assert default_compressor.get_config() == compressor_config
13271328
# N5Store always has a fill value of 0
13281329
assert meta['fill_value'] == 0
1330+
assert meta['dimension_separator'] == '.'
13291331

13301332
def test_init_array_path(self):
13311333
path = 'foo/bar'

0 commit comments

Comments
 (0)