Repository navigation
Document sampfreq, signame, wfdbdesc, wfdbtime and mrgann - #671
Merged
Merged
Conversation
These public functions were not in the documentation. Add them to the record and annotation sections of io.rst and wfdb.rst, and fix the formatting of the wfdbdesc and wfdbtime examples so that they render (and the docs build with warnings as errors passes). Fixes #339.
tompollard
commented
Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #339.
Five public functions were missing from the documentation. They are now listed in the "WFDB Records" and "WFDB Annotations" sections of
docs/io.rstanddocs/wfdb.rst:sampfreq,signame,wfdbdescandwfdbtime, which print a record's sampling frequencies, signal names, description and times, like the WFDB tools of the same names;mrgann, which merges two annotation files.The examples in
wfdbdescandwfdbtimedidn't render, and failed the docs build once included. A blank line inwfdbdesc's output is now written as<BLANKLINE>, andwfdbtime's notes are now sentences before each example rather than bullets that ran into the code.The other functions in
rdedfann's area that the issue mentions (read_edf,rdedfann,wfdb_to_edfand the other converters) are already documented indocs/convert.rst, which lists all members of each convert module. TheDataSourcefunctions are left out, since they are not used by the readers yet.Testing
@tompollard 🟥 red 🦥 sloth · aspen