<div dir="ltr">Thanks Eric! Dev version solved the problem. <div><br><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><font face="verdana, sans-serif"><i>HS</i></font></div><div></div></div></div></div>
<br><div class="gmail_quote">On Fri, Apr 10, 2015 at 3:59 AM, Eric Larson <span dir="ltr">&lt;<a href="mailto:larson.eric.d@gmail.com" target="_blank">larson.eric.d@gmail.com</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">Can you try the latest `master` on GitHub? I think this should already be fixed there as of a couple of months ago.<div><br></div><div>Eric</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Apr 9, 2015 at 1:41 PM, Hanan Shteingart <span dir="ltr">&lt;<a href="mailto:chanansh@gmail.com" target="_blank">chanansh@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Dear MNE,<div><br><div>I am new to MNE but I find it hard to use.<br>I am trying to crop a signal between [tmin, tmax] but I get the following error:<br><br><b>data.crop(tmin=tmin, tmax=tmax, copy=True)<br><br>  File &quot;C:\anaconda\lib\site-packages\mne\io\base.py&quot;, line 622, in crop<br>    cumul_lens = np.concatenate(([0], np.array(raw._raw_lengths,<br>AttributeError: &#39;RawArray&#39; object has no attribute &#39;_raw_lengths&#39;<br></b><br>It seems like the data object I have created is missing an attribute named _raw_lengths<br>I created my data as <b>mne.io.RawArray</b> with <b>mne.create_info</b><div><b><br></b></div><div>Any suggestion? Thanks!</div><div><br></div><div>Thanks,<br>HS<div><div><div dir="ltr"><div></div></div></div></div>
</div></div></div></div>
<br></div></div>_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" 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" 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>
<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" 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" 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></div></div>