Skip to content

Commit 888b984

Browse files
committed
fix merge
1 parent 6db5e0b commit 888b984

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/zarr/core/array.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4014,7 +4014,7 @@ async def from_array(
40144014
if not hasattr(data, "dtype") or not hasattr(data, "shape"):
40154015
data = np.array(data)
40164016

4017-
meta = await init_array(
4017+
result = await init_array(
40184018
store_path=store_path,
40194019
shape=data.shape,
40204020
dtype=data.dtype,
@@ -4030,8 +4030,8 @@ async def from_array(
40304030
chunk_key_encoding=chunk_key_encoding,
40314031
dimension_names=dimension_names,
40324032
overwrite=overwrite,
4033+
config=config_parsed,
40334034
)
4034-
result = AsyncArray(metadata=meta, store_path=store_path, config=config_parsed)
40354035

40364036
if write_data:
40374037
if isinstance(data, Array):

0 commit comments

Comments
 (0)