Skip to content

Commit

Permalink
FIX: Write, too
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Jul 17, 2024
1 parent 24a3e90 commit 281c274
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mne_bids/tests/test_write.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@

def _wrap_read_raw(read_raw):
def fn(fname, *args, **kwargs):
if str(fname).endswith(".mff") and check_version("mne", "1.8"):
kwargs["events_as_annotations"] = True
raw = read_raw(fname, *args, **kwargs)
raw.info["line_freq"] = 60
return raw
Expand Down

0 comments on commit 281c274

Please sign in to comment.