3333def mock_store (tmp_path_factory ):
3434 """Make a mocked MDIO store for writing."""
3535 tmp_dir = tmp_path_factory .mktemp ("mdio" )
36- return FSStore (tmp_dir .name , dimension_separator = "/" )
36+ return FSStore (tmp_dir .name )
3737
3838
3939@pytest .fixture
@@ -106,6 +106,7 @@ def mock_mdio(
106106 name = "live_mask" ,
107107 shape = grid .shape [:- 1 ],
108108 chunks = - 1 ,
109+ dimension_separator = "/" ,
109110 )
110111
111112 write_attribute (name = "created" , zarr_group = zarr_root , attribute = str (datetime .now ()))
@@ -124,13 +125,18 @@ def mock_mdio(
124125 for key , value in stats .items ():
125126 write_attribute (name = key , zarr_group = zarr_root , attribute = value )
126127
127- data_arr = data_grp .create_dataset ("chunked_012" , data = mock_data )
128+ data_arr = data_grp .create_dataset (
129+ "chunked_012" ,
130+ data = mock_data ,
131+ dimension_separator = "/" ,
132+ )
128133
129134 metadata_grp .create_dataset (
130135 data = il_grid * xl_grid ,
131136 name = "_" .join (["chunked_012" , "trace_headers" ]),
132137 shape = grid .shape [:- 1 ], # Same spatial shape as data
133138 chunks = data_arr .chunks [:- 1 ], # Same spatial chunks as data
139+ dimension_separator = "/" ,
134140 )
135141
136142 consolidate_metadata (mock_store )
0 commit comments