Skip to content

Commit

Permalink
Merge branch 'ig/fix_chunking' into ig/cache_arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
ilan-gold authored Nov 8, 2024
2 parents f59e5ca + e652c44 commit fc8495f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_io_elementwise.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,12 @@ def test_read_lazy_h5_cluster(sparse_format, tmp_path):
("csc", (-1, -1), (SIZE, SIZE * 2)),
],
)
def test_read_lazy_2d_chunk_kwargs(store, arr_type, chunks, expected_chunksize):
def test_read_lazy_2d_chunk_kwargs(
store: H5Group | ZarrGroup,
arr_type: Literal["csr", "csc", "dense"],
chunks: None | tuple[int | None, int | None],
expected_chunksize: tuple[int, int],
):
if arr_type == "dense":
arr_store = create_dense_store(store)
X_dask_from_disk = read_elem_as_dask(arr_store["X"], chunks=chunks)
Expand Down

0 comments on commit fc8495f

Please sign in to comment.