Skip to content

Commit

Permalink
Close EDF file
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrnr committed Oct 8, 2024
1 parent 2508741 commit 1ea701e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wfdb/io/convert/edf.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,8 @@ def read_edf(
int(np.sum(v) % 65536) for v in np.transpose(sig_data)
] # not all values correct?

edf_file.close()

record = Record(
record_name=record_name_out,
n_sig=n_sig,
Expand Down

0 comments on commit 1ea701e

Please sign in to comment.