pyxem / kikuchipy

Toolbox for analysis of electron backscatter diffraction (EBSD) patterns
https://kikuchipy.org
GNU General Public License v3.0
79 stars 30 forks source link

Make Dask chunking tests independent of Dask version #568

Closed hakonanes closed 1 year ago

hakonanes commented 1 year ago

Signed-off-by: Håkon Wiik Ånes hwaanes@gmail.com

Description of the change

This makes the Dask chunking tests independent of Dask version by comparing returned chunks to chunks created with direct calls to dask.array.core.normalize_chunks() instead of hard-coded chunks, as suggested by @ericpre in #567.

Progress of the PR

For reviewers