explicit handling of warnings
Handle scikit-image breaking API changes: https://github.com/scikit-image/scikit-image/blob/9e8bf6805fde48126008480920f02d316ebbbd98/doc/source/release_notes/release_0.22.rst#api-changes
I noticed that in one of the tests we are aligning images with all zeros
pytest src/darfix/core/test/test_dimension.py::TestDimension::test_find_shift
This test causes first_sum
or second_sum
in shift_detection
to be all zeros. No idea whether this is intentional or not. I don't understand the logic of indices
and dimension
for dataset.get_data
.
Edited by Wout De Nolf