File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3850,14 +3850,14 @@ async def from_array(
38503850 filters = data .filters
38513851 if compressors is None :
38523852 compressors = data .compressors
3853- if serializer == "auto" :
3854- serializer = cast (SerializerLike , data .serializer )
38553853 if fill_value is None :
38563854 fill_value = data .fill_value
38573855 if order is None :
38583856 order = data .order
38593857 if zarr_format is None :
38603858 zarr_format = data .metadata .zarr_format
3859+ if zarr_format == 3 and serializer == "auto" :
3860+ serializer = cast (SerializerLike , data .serializer )
38613861 if chunk_key_encoding is None and zarr_format == data .metadata .zarr_format :
38623862 if data .metadata .zarr_format == 2 :
38633863 chunk_key_encoding = {"name" : "v2" , "separator" : data .metadata .dimension_separator }
You can’t perform that action at this time.
0 commit comments