Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrnr committed Nov 26, 2024
1 parent 1a437e6 commit 0269bf7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions wfdb/io/convert/edf.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,9 +411,7 @@ def read_edf(
else:
temp_sig_data = temp_all_sigs[i].flatten()
if samps_per_frame[i] == 1:
sig_data[:, i] = (
temp_sig_data - baseline[i]
) / adc_gain_all[i]
sig_data[:, i] = (temp_sig_data - baseline[i]) / adc_gain_all[i]
else:
for j in range(sig_len):
start_ind = j * samps_per_frame[i]
Expand Down

0 comments on commit 0269bf7

Please sign in to comment.