MIT-LCP / MIT-LCP/wfdb-python

wrsamp wrong output *.dat filename

オープン
#153 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

@Lucas-Mc がすでに取り組んでいます。

2020年4月30日 から。

主要言語
Jupyter Notebook
スター
853
フォーク
322
PR マージ指標
30日以内にマージされた PR はありません

説明

I follow demo #10 to clone from an existing record with this code.

rec = wfdb.rdrecord('sample-data/100', physical=False)
rec.record_name = '100_cloned'
rec.wrsamp()

2 files were created

100.dat
100_cloned.hea

May I know why the *.dat file was not rename to 100_cloned.dat? Is this a bug or by design?

If it's by design, I think there is a flaw. Suppose I clone a record, modify the waveform, and save to the same folder, then the original 100.dat will be overwritten! Isn't that a bad thing? Please advice

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。