Skip to content

Commit

Permalink
Merge pull request #433 into main
Browse files Browse the repository at this point in the history
Fix an incorrect example in the documentation of rdheader.
  • Loading branch information
Benjamin Moody committed Nov 18, 2022
2 parents bbe54ce + f978f29 commit 843d80e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wfdb/io/record.py
Original file line number Diff line number Diff line change
Expand Up @@ -1825,8 +1825,7 @@ def rdheader(record_name, pn_dir=None, rd_segments=False):
Examples
--------
>>> ecg_record = wfdb.rdheader('sample-data/test01_00s', sampfrom=800,
channels = [1,3])
>>> ecg_record = wfdb.rdheader('100', pn_dir='mitdb')
"""
dir_name, base_record_name = os.path.split(record_name)
Expand Down

0 comments on commit 843d80e

Please sign in to comment.