[Mne_analysis] Fwd: error in reading brain vision raw files

Ying Yang evergreenlifeyangying at gmail.com
Mon Jun 26 19:10:25 EDT 2017
Search archives:

Dear MNE developers and users,

I had some problem opening brain vision files generated by Brain Vision's
Recorder software. (files link
https://www.dropbox.com/sh/8b73u9hjc3ol2iw/AACQVhe_az7Mie8Qm-IQQxN_a?dl=0).
Previously, I was able to open other brain vision raw files.


 mne.io.read_raw_brainvision("test_bv_files/test6.vhdr")
Extracting parameters from test_bv_files/test6.vhdr...
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/ying/anaconda2/lib/python2.7/site-packages/mne/
io/brainvision/brainvision.py", line 717, in read_raw_brainvision
    event_id=event_id, verbose=verbose)
  File "<string>", line 2, in __init__
  File "/home/ying/anaconda2/lib/python2.7/site-packages/mne/utils.py",
line 707, in verbose
    return function(*args, **kwargs)
  File "/home/ying/anaconda2/lib/python2.7/site-packages/mne/
io/brainvision/brainvision.py", line 85, in __init__
    _get_vhdr_info(vhdr_fname, eog, misc, scale, montage)
  File "/home/ying/anaconda2/lib/python2.7/site-packages/mne/
io/brainvision/brainvision.py", line 512, in _get_vhdr_info
    assert ch in line_amp
AssertionError

The error seemed to indicate some format issue in the header file. I have
manually looked at the header file, but could not find anything that might
cause the issue.

Any input is appreciated! Thanks.

Best,
Ying
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20170626/5b3f3281/attachment.html 


More information about the Mne_analysis mailing list