Skip to content

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

Open
@fosaken

Description

@fosaken

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"
                )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions