MIT-LCP / MIT-LCP/wfdb-python

wrsamp wrong output *.dat filename

Aperta
#153 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@Lucas-Mc ci sta già lavorando.

Dal 30/4/2020.

Lingua principale
Jupyter Notebook
Stelle
853
Fork
322
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.