[Mne_analysis] IndexError: index out of bounds

Warner, Graham Cary GWARNER at mgh.harvard.edu
Thu Jan 7 10:08:37 EST 2016
Search archives:

Hi all,

I'm having trouble opening /space/lilli_003/users/DARPA-TRANSFER/meg/hc004/008/hc004_rcl_raw.fif. The error message when I try to open it with
raw = Raw('hc004_rcl_raw.fif',verbose=False,preload=False)
is
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<string>", line 2, in __init__
  File "/space/jazz/1/users/gwarner/anaconda/lib/python2.7/site-packages/mne/utils.py", line 546, in verbose
    return function(*args, **kwargs)
  File "/space/jazz/1/users/gwarner/anaconda/lib/python2.7/site-packages/mne/io/fiff/raw.py", line 94, in __init__
    do_check_fname)
  File "<string>", line 2, in _read_raw_file
  File "/space/jazz/1/users/gwarner/anaconda/lib/python2.7/site-packages/mne/utils.py", line 549, in verbose
    return function(*args, **kwargs)
  File "/space/jazz/1/users/gwarner/anaconda/lib/python2.7/site-packages/mne/io/fiff/raw.py", line 150, in _read_raw_file
    ff, tree, _ = fiff_open(fname, preload=whole_file)
  File "<string>", line 2, in fiff_open
  File "/space/jazz/1/users/gwarner/anaconda/lib/python2.7/site-packages/mne/utils.py", line 549, in verbose
    return function(*args, **kwargs)
  File "/space/jazz/1/users/gwarner/anaconda/lib/python2.7/site-packages/mne/io/open.py", line 131, in fiff_open
    tag = read_tag(fid, dirpos)
  File "/space/jazz/1/users/gwarner/anaconda/lib/python2.7/site-packages/mne/io/tag.py", line 234, in read_tag
    tag = Tag(*np.fromstring(s, dtype='>i4,>u4,>i4,>i4')[0])
IndexError: index out of bounds
The other files from this session open without issue so I have not idea what is special about this one. Can anyone shed some light on this?

Thank you,
Graham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20160107/00459af2/attachment.html 


More information about the Mne_analysis mailing list