wfdb-python icon indicating copy to clipboard operation
wfdb-python copied to clipboard

Change approach for allowing `seg_name` and `seg_len` to be lists

Open briangow opened this issue 1 year ago • 0 comments

In https://github.com/MIT-LCP/wfdb-python/pull/514 an update was made to allow seg_name and seg_len to be lists. This is needed for writing a MultiSegmentRecord.

@bemoody , suggested an alternate approach:

But I think what we really want is, rather than changing the types in SEGMENT_SPECS, we want to add "seg_name" and "seg_len" to LIST_FIELDS (wfdb/io/record.py, line 1675.)

This issue is being opened to track implementing this alternate approach.

briangow avatar Nov 08 '24 21:11 briangow