Skip to content

Commit dc81f77

Browse files
committed
* try to make tests pass
1 parent 6a010f4 commit dc81f77

File tree

2 files changed

+1124
-1047
lines changed

2 files changed

+1124
-1047
lines changed

ngff_zarr/to_ngff_zarr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,9 @@ def _write_with_tensorstore(
161161
# Try to open existing dataset first, create only if needed
162162
try:
163163
if create_dataset:
164-
dataset = ts.open(spec, create=True, open=True, dtype=array.dtype).result()
164+
dataset = ts.open(spec, create=True, dtype=array.dtype).result()
165165
else:
166-
dataset = ts.open(spec, create=False, open=True, dtype=array.dtype).result()
166+
dataset = ts.open(spec, create=False, dtype=array.dtype).result()
167167
except Exception as e:
168168
if "ALREADY_EXISTS" in str(e) and create_dataset:
169169
# Dataset already exists, open it without creating

0 commit comments

Comments
 (0)