MCPcopy Create free account
hub / github.com/dask/dask / imread2

Function imread2

dask/array/tests/test_image.py:39–40  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

37
38def test_imread_with_custom_function():
39 def imread2(fn):
40 return np.ones((2, 3, 4), dtype="i1")
41
42 with random_images(4, (5, 6, 3)) as globstring:
43 im = da_imread(globstring, imread=imread2)

Callers

nothing calls this directly

Calls 1

onesMethod · 0.45

Tested by

no test coverage detected