csv_to_wfdb docstring has incorrect parameter descriptions
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 1/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 83/100
- Issue 類型
- 文件
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
- 技術堆疊
- python
研究方向
在 src/wfdb/io/convert/csv.py 中找到 csv_to_wfdb 的 docstring,並將其參數描述與函式引數和行為進行比較。檢查第 323 行附近回報的預設訊號名稱。更新錯誤的描述,然後確認文字準確描述了這些引數,包括 fs 為必填項且 file_name 是 CSV 路徑。
由索引模型根據 Issue 內容生成。
描述
Found while reviewing #591, which fixes the summary, record_only, write_dir and return value descriptions. Some other parameter descriptions in the csv_to_wfdb docstring are wrong, mostly because they were copied from elsewhere:
file_nameis copied fromrdrecord. It says the name is given "without any file extensions" and refers topn_dir, whichcsv_to_wfdbdoesn't have. It should be the path to the CSV file.fssays "if it is missing, a value of 250 is assumed", but it is a required argument.- Several other descriptions (e.g.
baseline,skew,byte_offset,checksum) are copied from the header file specification and describe header syntax rather than the Python arguments. headersays the default signal names are[ch_1, ch_2, ...], but the code producesch_0, ch_1, ...(https://github.com/MIT-LCP/wfdb-python/blob/b8914e1c9c777c45571c894cb7b6579550a86f13/src/wfdb/io/convert/csv.py#L323).
- 主要語言
- Jupyter Notebook
- 星號
- 853
- 分支
- 324
- 平均合併
- 17 小時 39 分鐘
- 30 天內合併 PR
- 10
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
MIT-LCP/wfdb-python 的其他 Issue
-
難度 1/5 1 小時以內 新手友好度 72/100
MIT-LCP/wfdb-python#590 ·
維護者通常 1 天內回覆
-
pandas 3.0: three remaining set_index(<str column>.values) calls still raise TypeError (custom-labels paths)可能已有人在做 @wenh06 於 7 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 82/100
MIT-LCP/wfdb-python#574 · 1 則留言 ·
維護者通常 1 天內回覆
-
`find_local_peaks` ignores the sample at `i + radius`, so points on a rising slope are returned as peaks可能已有人在做 @rmz-oz 於 28 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 84/100
MIT-LCP/wfdb-python#572 ·
維護者通常 1 天內回覆
-
bug
難度 3/5 1-2 天 新手友好度 72/100
MIT-LCP/wfdb-python#595 ·
維護者通常 1 天內回覆
-
bug
難度 3/5 1-2 天 新手友好度 67/100
MIT-LCP/wfdb-python#593 ·
維護者通常 1 天內回覆
查看 MIT-LCP/wfdb-python 的全部 Issue
相似的 Issue
-
bug documentation
難度 1/5 1 小時以內 新手友好度 80/100
awslabs/visual-asset-management-system#936 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 68/100
維護者通常 1 天內回覆
-
14.3.x
難度 2/5 1-3 小時 新手友好度 65/100
-
good first issue help wanted r-docs
難度 2/5 1-3 小時 新手友好度 72/100
servo/rust-smallvec#824 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 62/100
維護者通常 2 天內回覆