Skip to content

Commit

Permalink
Update mne/export/_edf.py
Browse files Browse the repository at this point in the history
Co-authored-by: Marijn van Vliet <[email protected]>
  • Loading branch information
withmywoessner and wmvanvliet authored Nov 9, 2023
1 parent 8ff83bc commit fab055b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mne/export/_edf.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def _export_raw(fname, raw, physical_range, add_ch_type):
for ch_name in ch_names:
try:
hdl.writeAnnotation(onset, duration, desc + f"@@{ch_name}")
except Exception:
except Exception as e:
raise RuntimeError(
f"writeAnnotation() returned an error "
f"trying to write {desc} at {onset} "
Expand Down

0 comments on commit fab055b

Please sign in to comment.