We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am trying to read annotations from NSRDB like this:
>>> import wfdb >>> wfdb.rdann("nsrdb/16265", "atr")
I keep getting the following error:
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/marty/Documents/ujep2/pzs/seminarka/.venv/lib/python3.12/site-packages/wfdb/io/annotation.py", line 1953, in rdann (sample, label_store, subtype, chan, num, aux_note) = proc_ann_bytes( ^^^^^^^^^^^^^^^ File "/home/marty/Documents/ujep2/pzs/seminarka/.venv/lib/python3.12/site-packages/wfdb/io/annotation.py", line 2154, in proc_ann_bytes sample_diff, current_label_store, bpi = proc_core_fields(filebytes, bpi) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/marty/Documents/ujep2/pzs/seminarka/.venv/lib/python3.12/site-packages/wfdb/io/annotation.py", line 2240, in proc_core_fields sample_diff += int(filebytes[bpi, 0] + 256 * (filebytes[bpi, 1] & 3)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ OverflowError: Python integer 256 out of bounds for uint8
I am running Python 3.12.7 and NumPy 2.2.0.
A similar issue is already open (#522).
The text was updated successfully, but these errors were encountered:
Furthermore, a similar issue is discussed in #493.
I should also mention that i am running WFDB 4.1.2.
Sorry, something went wrong.
got the same problem for extracting .atr files from MIT-BIH dataset
No branches or pull requests
I am trying to read annotations from NSRDB like this:
I keep getting the following error:
I am running Python 3.12.7 and NumPy 2.2.0.
A similar issue is already open (#522).
The text was updated successfully, but these errors were encountered: