the valid range of A(annotation type value)
未关闭
还没有人认领这个 Issue。
- 主要语言
- Jupyter Notebook
- 星标
- 853
- 派生
- 322
- PR 合并指标
- 30 天内没有已合并 PR
描述
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"
)
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 wfdb/io/annotation.py 第563行附近的 label_store 验证开始,然后检查大于49的注释值是如何表示的,包括预定义值59–63。确认值49–58在 WFDB 格式中是否有效,并相应地更新验证行为;当该限制与格式规范一致时即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- data
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100