Hi,
This change in NumPy ≥ 1.20 has caused issues in diopy.output.py and diopy.input.py.
When using these modules, the following error occurs:
np.object was a deprecated alias for the builtin object. To avoid this error in existing code, use object by itself. Doing this will not modify any behavior and is safe.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
I have tested the write_h5() function and found that replacing np.object with object in diopy.output.py resolves the issue.
If this package is still being maintained, would you consider applying this change? This would ensure compatibility with newer versions of NumPy.
Thank you for your time and consideration.
Best wishes!
Hi,
This change in NumPy ≥ 1.20 has caused issues in
diopy.output.pyanddiopy.input.py.When using these modules, the following error occurs:
I have tested the
write_h5()function and found that replacingnp.objectwithobjectindiopy.output.pyresolves the issue.If this package is still being maintained, would you consider applying this change? This would ensure compatibility with newer versions of NumPy.
Thank you for your time and consideration.
Best wishes!