Skip to content

Commit a79747b

Browse files
committed
Improve order warning
1 parent 448662a commit a79747b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zarr/core/array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4581,7 +4581,7 @@ def _parse_keep_array_attr(
45814581
if data.metadata.zarr_format == 2 and zarr_format == 3 and data.order == "F":
45824582
# Can't set order="F" for v3 arrays
45834583
warnings.warn(
4584-
"Zarr format 3 arrays are always stored with order='C'. "
4584+
"The 'order' attribute of a Zarr format 2 array does not have a direct analogue in Zarr format 3. "
45854585
"The existing order='F' of the source Zarr format 2 array will be ignored.",
45864586
UserWarning,
45874587
stacklevel=2,

0 commit comments

Comments
 (0)