<p><span style="padding: 3px 10px; border-radius: 5px; color: #ffffff; font-weight: bold; display: inline-block; background-color: #ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;External Email - Use Caution&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p><p></p><div dir="ltr">This does sound like a bug, feel free to open an issue.<div><br></div><div>In the meantime you can also try loading your data with this library:</div><div><br></div><div><a href="https://github.com/BEL-Public/mffpy">https://github.com/BEL-Public/mffpy</a><br></div><div><br></div><div>If it works, as a workaround you could hack your way back to MNE by reading data with that library and constructing a RawArray object in MNE.</div><div><br></div><div>Eric</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 12, 2019 at 9:04 AM Raphaël Thézé &lt;<a href="mailto:raphael.theze@gmail.com" target="_blank">raphael.theze@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p><span style="padding:3px 10px;border-radius:5px;color:rgb(255,255,255);font-weight:bold;display:inline-block;background-color:rgb(255,0,0)">        External Email - Use Caution        </span></p><p></p><div dir="ltr">Dear all, <div><br></div><div>I only recently began to work (or try to) with MNE python thanks to the workshop Practical MEEG a week ago. During the workshop I tried replicating what we learned on my own data but a problem rose with the reading of events and it could not be solved in the context of the workshop. </div><div><br></div><div>To summarize, I work with EGI data (format .mff). The stimuli are 480 short videos with characters saying sentences and trigger events are coded as follow: </div><div>- a first trigger at the onset with a unique code corresponding to the ID of the sentence (40 different stim) </div><div>- a second trigger during the stimulus coding for condition (2 different stim)</div><div>- a third trigger at the end of the video coding for the ID of the character (6 different stim)</div><div>- a fourth trigger after the video coding for the participant&#39;s answer on the keyboard to a question (4 different stim)</div><div><br></div><div>When I import the data I use the following script: </div><div><a href="https://gist.github.com/rtheze/31bef97aa0f4fff1b1506e1611746012" target="_blank">https://gist.github.com/rtheze/31bef97aa0f4fff1b1506e1611746012</a><br></div><div><br></div><div>I can&#39;t publicly share the data, but if someone is wiling to run some test I can send a dataset in a private message. </div><div><br></div><div>The problem is when I print events, for instance &#39;D206&#39; or &#39;D208&#39; which correspond to condition trigger I respectively have 200 and 203 events found, while I should have 240 of each. </div><div><br></div><div>I know for certain that the data is ok because I work with it in matlab (fieldtrip) and the number of events is as expected. The only option I see is the that the mne function does not read properly the .mff data but before opening an issue I prefer to ask for advice. </div><div><br></div><div>In advance, thank you for your help</div><div>Best, </div><div>Raphaël Thézé</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" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a></blockquote></div>