-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code Update Request: Avoid 'np.float' Deprecation Error in melanoma.ipynb #20
Comments
I also encountered this issue, tried to set numpy to 1.19.5 but the python 3.11 is not supporting this |
Also after getting the numpy error fixed I get another error : |
I am getting the same error too. |
I also encountered this error. I tried numpy 1.18 but this didn't work beacuse it is incompatible with pandas. |
This error should have been fixed a few months ago. Could you try reinstalling development version or 0.2.0 version on Pypi? @yuifu @sealx017 @heksaani @biyang-bioinfo |
Reinstalling version 0.2.0 fixed this issue. Thanks!
|
Thank you for creating such a wonderful software!
I immediately installed SpatialDM and tried running melanoma.ipynb, but I got an error.
https://github.com/StatBiomed/SpatialDM/blob/main/tutorial/melanoma.ipynb
Here is the code cell where the error occurred:
The error is as follows:
My environment is
So, I think the above issue would occur when users use numpy >1.20.
I would appreciate it if you could update the code to avoid deprecation concerning np.float.
The text was updated successfully, but these errors were encountered: