error message
Hello,
I was able to install telescope and wanted to run telescope test and got below error message:
(from print_summary in model.py:537)
Traceback (most recent call last):
File "/Users/opt/miniconda2/envs/telescope/bin/telescope", line 8, in np.int was a deprecated alias for the builtin int. To avoid this error in existing code, use int by itself. Doing this will not modify any behavior and is safe. When replacing np.int, you may wish to use e.g. np.int64 or np.int32 to specify the precision. If you wish to review your current use, check the release note link for additional information.
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. Did you mean: 'inf'?
Any help will be appreciated.
np.int was a deprecated alias for the builtin int. To avoid this error in existing code, use int by itself. Doing this will not modify any behavior and is safe . You can replace "np.int" with “int"
I did not understand which file had to have this modification, but after a while I found "np.int" in "/users/userX/miniconda3/envs/telescope_env/lib/python3.10/site-packages/telescope/utils/model.py", so I modified that to "int", as suggested. This has made my version of telescope (1.0.3, from bioconda) work.