<div dir="ltr">Hi Le,<div><br></div><div>I&#39;m unable to recreate this error using our test file. </div><div><br></div><div>```</div><div>







<p class="gmail-p1"><span class="gmail-s1">raw = mne.io.read_raw_egi(</span><span class="gmail-s2">&#39;/Users/teon/packages/mne-python/mne/io/egi/te</span></p>
<p class="gmail-p1"><span class="gmail-s3">   ...: </span><span class="gmail-s2">sts/data/test_egi.raw&#39;</span><span class="gmail-s1">)</span></p></div><div>







<p class="gmail-p1"><span class="gmail-s1">raw.plot()</span></p><p class="gmail-p1"><span class="gmail-s1">```</span></p></div><div>When I do an isinstance(raw, mne.io.BaseRaw), it returns True. Could you provide a gist and a sample file to recreate the problem? </div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div><div><a href="http://teonbrooks.github.io" target="_blank">teon</a><br></div><div>--</div><div>twitter: <a href="http://www.twitter.com/teon_io" target="_blank">@teon_io</a></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Mon, Apr 24, 2017 at 10:45 AM, Le Wang <span dir="ltr">&lt;<a href="mailto:lwang@bu.edu" target="_blank">lwang@bu.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 dir="ltr">Hi, MNE-users,<div><br></div><div>I use mne.io.read_raw_egi to load the simple binary files from EGI into a raw object. Then when I use raw.plot(), it complains that &quot;ValueError: Must supply either Raw or Epochs&quot; (Line 1492 in utils.py in the function &quot;_compute_scalings&quot;). The error is raised because mne doesn&#39;t consider the raw object created from EGI as an instance of the BaseRaw class. &quot;type(raw)&quot; returns mne.io.egi.egi.RawEGI. <br></div><div><br></div><div>I only started to see this error after a recent update of the mne from 0.10 to 0.15.dev0, and raw.plot() worked fine for EGI files in my previous version of mne. <br></div><div><br></div><div>I wonder if anyone knows a solution to this problem. Thank you!</div><div><br></div><div>Best</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Le</div></font></span></div>
<br>______________________________<wbr>_________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">Mne_analysis@nmr.mgh.harvard.<wbr>edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.<wbr>edu/mailman/listinfo/mne_<wbr>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/<wbr>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>