Skip to content

Commit 1ea701e

Browse files
committed
Close EDF file
1 parent 2508741 commit 1ea701e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

wfdb/io/convert/edf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,8 @@ def read_edf(
438438
int(np.sum(v) % 65536) for v in np.transpose(sig_data)
439439
] # not all values correct?
440440

441+
edf_file.close()
442+
441443
record = Record(
442444
record_name=record_name_out,
443445
n_sig=n_sig,

0 commit comments

Comments
 (0)