diff --git a/wfdb/io/annotation.py b/wfdb/io/annotation.py index 5a8ea75d..ae86cc9f 100644 --- a/wfdb/io/annotation.py +++ b/wfdb/io/annotation.py @@ -1949,9 +1949,9 @@ def rdann( # Read the file in byte pairs if ann_stream is not None: - filebytes = np.frombuffer(ann_stream.read(), "