Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the valid range of A(annotation type value) #533

Open
fosaken opened this issue Mar 6, 2025 · 0 comments
Open

the valid range of A(annotation type value) #533

fosaken opened this issue Mar 6, 2025 · 0 comments

Comments

@fosaken
Copy link

fosaken commented Mar 6, 2025

Why should the value of A be restricted to between 1 and 49? The values greater than 58 are pre-defined as (skip-59, num-60, sub-61, chan-62, aux-63),Can I define the values between 49 and 58(bound included)? and lift this restriction?

https://github.com/MIT-LCP/wfdb-python/blob/main/wfdb/io/annotation.py#L563

        elif field == "label_store":
            if min(item) < 1 or max(item) > 49:
                raise ValueError(
                    "The label_store values must be between 1 and 49"
                )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant