<div dir="ltr">I suspect that the file might be partial/truncated. Does it open properly with the C tools (e.g., mne_browse_raw) and can you view all of your data scrolling to the end?<div><br></div><div>If you can share a link to the file privately somewhere we can also take a look. You can use `mne_anonymize` in the C tools to anonymize it first if need be.</div><div><br></div><div>Eric</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 7, 2016 at 10:08 AM, Warner, Graham Cary <span dir="ltr">&lt;<a href="mailto:GWARNER@mgh.harvard.edu" target="_blank">GWARNER@mgh.harvard.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Hi all,<br>
<br>
I&#39;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
<br>
<blockquote>
<blockquote>raw = Raw(&#39;hc004_rcl_raw.fif&#39;,verbose=False,preload=False)<br>
</blockquote>
</blockquote>
is <br>
<blockquote>
<blockquote>Traceback (most recent call last):<br>
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>
  File &quot;&lt;string&gt;&quot;, line 2, in __init__<br>
  File &quot;/space/jazz/1/users/gwarner/anaconda/lib/python2.7/site-packages/mne/utils.py&quot;, line 546, in verbose<br>
    return function(*args, **kwargs)<br>
  File &quot;/space/jazz/1/users/gwarner/anaconda/lib/python2.7/site-packages/mne/io/fiff/raw.py&quot;, line 94, in __init__<br>
    do_check_fname)<br>
  File &quot;&lt;string&gt;&quot;, line 2, in _read_raw_file<br>
  File &quot;/space/jazz/1/users/gwarner/anaconda/lib/python2.7/site-packages/mne/utils.py&quot;, line 549, in verbose<br>
    return function(*args, **kwargs)<br>
  File &quot;/space/jazz/1/users/gwarner/anaconda/lib/python2.7/site-packages/mne/io/fiff/raw.py&quot;, line 150, in _read_raw_file<br>
    ff, tree, _ = fiff_open(fname, preload=whole_file)<br>
  File &quot;&lt;string&gt;&quot;, line 2, in fiff_open<br>
  File &quot;/space/jazz/1/users/gwarner/anaconda/lib/python2.7/site-packages/mne/utils.py&quot;, line 549, in verbose<br>
    return function(*args, **kwargs)<br>
  File &quot;/space/jazz/1/users/gwarner/anaconda/lib/python2.7/site-packages/mne/io/open.py&quot;, line 131, in fiff_open<br>
    tag = read_tag(fid, dirpos)<br>
  File &quot;/space/jazz/1/users/gwarner/anaconda/lib/python2.7/site-packages/mne/io/tag.py&quot;, line 234, in read_tag<br>
    tag = Tag(*np.fromstring(s, dtype=&#39;&gt;i4,&gt;u4,&gt;i4,&gt;i4&#39;)[0])<br>
IndexError: index out of bounds<br>
</blockquote>
</blockquote>
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?<br>
<br>
Thank you,<br>
Graham<br>
</div>
</div>

<br>_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">Mne_analysis@nmr.mgh.harvard.edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
<br>
<br>
The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
<a href="http://www.partners.org/complianceline" rel="noreferrer" target="_blank">http://www.partners.org/complianceline</a> . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.<br>
<br></blockquote></div><br></div>