MDU-PHL/emmtyper

emmtyper incompatible with numpy >=1.19

sbberes opened this issue · 2 comments

Dear sirs,
emmtyper does not seem to be compatible with newer versions of numpy. With numpy 1.19.5 it throws the following error message:
VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray. From google searching this seems to be due to a change in numpy versions > 1.18. Can the emmtyper code be updated or the anconda specifications be changed to indicate the appropriate version of numpy.
Sincerely,
S. Beres

I was not able to reproduce the error. I can see the deprecation warning, but that should not affect the run. Can you share your database and sequence file? Or perhaps the full stack trace? Thank you, and sorry for the late reply.

Commit 0942eaa removes the Numpy deprecation warning by addressing the issue.

I am closing this issue. Please feel free to reopen if needed.