Skip to content

Commit

Permalink
readd ieeg tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sappelhoff committed Oct 19, 2018
1 parent 65fd523 commit 03a2285
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions mne_bids/tests/test_mne_bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,14 @@ def test_vhdr():
overwrite=True)
assert len([f for f in os.listdir(data_path) if op.isfile(f)]) == 0

# Also cover iEEG
raw_to_bids(subject_id=subject_id, session_id=session_id, run=run,
task=task, acquisition=acq, raw_file=raw_fname,
output_path=output_path, overwrite=True, kind='ieeg')

cmd = ['bids-validator', '--bep010', output_path]
run_subprocess(cmd, shell=shell)


def test_edf():
"""Test raw_to_bids conversion for European Data Format data."""
Expand Down Expand Up @@ -240,6 +248,14 @@ def test_edf():
df = pd.read_csv(scans_tsv, sep='\t')
assert df.shape[0] == 2

# Also cover iEEG
raw_to_bids(subject_id=subject_id, session_id=session_id, run=run,
task=task, acquisition=acq, raw_file=raw_fname,
output_path=output_path, overwrite=True, kind='ieeg')

cmd = ['bids-validator', '--bep010', output_path]
run_subprocess(cmd, shell=shell)


def test_bdf():
"""Test raw_to_bids conversion for Biosemi data."""
Expand Down

0 comments on commit 03a2285

Please sign in to comment.