On a quest in reducing noise in tests, and in ilastik in general I've tackled most warnings issued by dependencies. Warning count went down from 188 to 24 when running the tests.
Warnings removed:
numpy:
DeprecationWarning: The binary mode of fromstring is deprecated
FutureWarning: Conversion of the second argument of issubdtype from dtype to np.generic is deprecated. In future, it will be treated as np.object_ == np.dtype(dtype).type.
DeprecationWarning: elementwise == comparison failed; this will raise an error in the future.
h5py:
H5pyDeprecationWarning: dataset.value has been deprecated. Use dataset[()] instead.
I'm doing the same in the other repos while I'm at it. Now it's easier to concentrate on our own warnings...
btw. numpy.array_equal (and it's sister numpy.array_equiv) are awesome, didn't know them before. Those functions eat almost anything
On a quest in reducing noise in tests, and in ilastik in general I've tackled most warnings issued by dependencies. Warning count went down from 188 to 24 when running the tests.
Warnings removed:
numpy
:dtype
tonp.generic
is deprecated. In future, it will be treated asnp.object_ == np.dtype(dtype).type
.h5py
:I'm doing the same in the other repos while I'm at it. Now it's easier to concentrate on our own warnings...
btw.
numpy.array_equal
(and it's sisternumpy.array_equiv
) are awesome, didn't know them before. Those functions eat almost anything