Skip to content
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

error when running processing.ann2rr #453

Closed
BarAbba39 opened this issue May 16, 2023 · 1 comment
Closed

error when running processing.ann2rr #453

BarAbba39 opened this issue May 16, 2023 · 1 comment

Comments

@BarAbba39
Copy link

228 out_interval = time_interval / (60 * 60)
229 else:
--> 230 out_interval = np.around(time_interval * ann.fs).astype(np.int)
232 if as_array:
233 return out_interval

File ---/venv/lib/python3.10/site-packages/numpy/init.py:284, in getattr(attr)
281 from .testing import Tester
282 return Tester
--> 284 raise AttributeError("module {!r} has no attribute "
285 "{!r}".format(name, attr))

error: np has no attribute np.int

np.int was deprecated in 2021

@tompollard
Copy link
Member

This issue should be fixed in Version 4.1.2, now available on PyPI.

Please update your installation with:

pip install wfdb --upgrade

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants