Skip to content

Commit 843d80e

Browse files
author
Benjamin Moody
committed
Merge pull request #433 into main
Fix an incorrect example in the documentation of rdheader.
2 parents bbe54ce + f978f29 commit 843d80e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

wfdb/io/record.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1825,8 +1825,7 @@ def rdheader(record_name, pn_dir=None, rd_segments=False):
18251825
18261826
Examples
18271827
--------
1828-
>>> ecg_record = wfdb.rdheader('sample-data/test01_00s', sampfrom=800,
1829-
channels = [1,3])
1828+
>>> ecg_record = wfdb.rdheader('100', pn_dir='mitdb')
18301829
18311830
"""
18321831
dir_name, base_record_name = os.path.split(record_name)

0 commit comments

Comments
 (0)