wrsamp wrong output *.dat filename
Offen
@Lucas-Mc arbeitet bereits daran.
Seit 30.4.2020.
- Vorherrschende Sprache
- Jupyter Notebook
- Sterne
- 853
- Forks
- 322
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.