Skip to content

Commit d8a389c

Browse files
committed
work on custom annotation labels
1 parent c17451c commit d8a389c

File tree

2 files changed

+696
-354
lines changed

2 files changed

+696
-354
lines changed

wfdb/readwrite/_headers.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
# Class of common methods for single and multi-segment headers
1010
class BaseHeadersMixin(object):
1111

12-
1312
# Helper function for getwritefields
1413
# specfields is the set of specification fields
1514
# For record specs, it returns a list of all fields needed.
@@ -595,7 +594,7 @@ def __init__(self, allowedtypes, delimiter, dependency, write_req, read_def, wri
595594
# so that the user doesn't need to. But when reading, it should
596595
# be clear that the fields are missing.
597596

598-
inttypes = [int, np.int64, np.int32, np.int16]
597+
inttypes = [int, np.int64, np.int32, np.int16, np.int8]
599598
floattypes = inttypes + [float, np.float64, np.float32]
600599

601600
# Record specification fields

0 commit comments

Comments
 (0)