File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 2727 MemoryOrder ,
2828 ZarrFormat ,
2929 _default_zarr_format ,
30- _warn_order_kwarg ,
3130 _warn_write_empty_chunks_kwarg ,
3231 parse_dtype ,
3332)
@@ -1251,8 +1250,6 @@ async def open_array(
12511250
12521251 zarr_format = _handle_zarr_version_or_format (zarr_version = zarr_version , zarr_format = zarr_format )
12531252
1254- if "order" in kwargs :
1255- _warn_order_kwarg ()
12561253 if "write_empty_chunks" in kwargs :
12571254 _warn_write_empty_chunks_kwarg ()
12581255
Original file line number Diff line number Diff line change @@ -4276,8 +4276,10 @@ async def init_array(
42764276
42774277 if config is None :
42784278 config = {}
4279- if order is not None and isinstance (config , dict ):
4280- config ["order" ] = config .get ("order" , order )
4279+ if order is not None :
4280+ _warn_order_kwarg ()
4281+ if isinstance (config , dict ):
4282+ config ["order" ] = config .get ("order" , order )
42814283
42824284 meta = AsyncArray ._create_metadata_v3 (
42834285 shape = shape_parsed ,
You can’t perform that action at this time.
0 commit comments