Skip to content

Commit c58c610

Browse files
committed
sqme: mypy
1 parent b2ceeeb commit c58c610

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

odc/loader/_zarr.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,11 @@ def __init__(
108108
) -> None:
109109
gbt: GeoboxTiles | None = None
110110
if chunks is not None:
111-
_chunks = tuple(
111+
cy, cx = (
112112
chunks.get(name, fallback)
113113
for name, fallback in zip(["y", "x"], geobox.shape.yx)
114114
)
115-
gbt = GeoboxTiles(geobox, _chunks)
115+
gbt = GeoboxTiles(geobox, (cy, cx))
116116
self.geobox = geobox
117117
self.chunks = chunks
118118
self.driver = driver

0 commit comments

Comments
 (0)