@@ -327,7 +327,7 @@ def __init__(self, *args, **kwargs):
327
327
if 'dimension_separator' in kwargs :
328
328
kwargs .pop ('dimension_separator' )
329
329
warnings .warn ('Keyword argument `dimension_separator` will be ignored' )
330
- dimension_separator = ". "
330
+ dimension_separator = "/ "
331
331
super ().__init__ (* args , dimension_separator = dimension_separator , ** kwargs )
332
332
333
333
def _normalize_key (self , key ):
@@ -339,7 +339,7 @@ def _normalize_key(self, key):
339
339
* bits , end = key .split ("/" )
340
340
341
341
if end not in (self .array_meta_key , self .group_meta_key , self .attrs_key ):
342
- end = end .replace ("." , "/" ) # Hard-code self.key_separator)
342
+ end = end .replace ("." , self .key_separator )
343
343
key = "/" .join (bits + [end ])
344
344
return key .lower () if self .normalize_keys else key
345
345
@@ -627,7 +627,7 @@ def array_metadata_to_zarr(array_metadata):
627
627
array_metadata ['fill_value' ] = 0 # also if None was requested
628
628
array_metadata ['order' ] = 'C'
629
629
array_metadata ['filters' ] = []
630
- array_metadata ['dimension_separator' ] = '. '
630
+ array_metadata ['dimension_separator' ] = '/ '
631
631
632
632
compressor_config = array_metadata ['compressor' ]
633
633
compressor_config = compressor_config_to_zarr (compressor_config )
0 commit comments