Skip to content

Commit

Permalink
Style
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrnr committed Mar 14, 2024
1 parent b46eed7 commit 10dba3f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mne/export/_edf.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ def _export_raw(fname, raw, physical_range, add_ch_type):
# make non-integer second durations work
if (pad_width := int(np.ceil(n_times / sfreq) * sfreq - n_times)) > 0:
warn(
f"EDF format requires equal-length data blocks, so {pad_width / sfreq:.3g} "
"seconds of zeros were appended to all channels when writing the final "
"block."
"EDF format requires equal-length data blocks, so "
f"{pad_width / sfreq:.3g} seconds of zeros were appended to all "
"channels when writing the final block."
)
data = np.pad(data, (0, int(pad_width)))
else:
Expand Down

0 comments on commit 10dba3f

Please sign in to comment.