[7f9fb8]: / mne / tests / test_misc.py

Download this file

16 lines (10 with data), 378 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
# Authors: The MNE-Python contributors.
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.
from pathlib import Path
from mne.misc import parse_config
ave_fname = Path(__file__).parents[1] / "io" / "tests" / "data" / "test.ave"
def test_parse_ave():
"""Test parsing of .ave file."""
conditions = parse_config(ave_fname)
assert len(conditions) == 4