<div dir="ltr"><span style="font-size:small;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Hi John and Ramon,</span><div><br></div><div>Thank you for your responses. <br><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial">I actually tried doing it through the GUI and using the eegh script, but that produced the same error. It seems the issue has to do with the presence of boundary events in a dataset - the command line function fails on any dataset that has boundary events.</div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial">I submitted a bugzilla report: <a href="https://sccn.ucsd.edu/bugzilla/show_bug.cgi?id=13798">https://sccn.ucsd.edu/bugzilla/show_bug.cgi?id=13798</a></div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial">I've been playing around with it. It seems it's a data type error arising from line 216. </div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"><font face="monospace, monospace">Ieventtmp = [ Ieventtmp ; strmatch(tmpevent, tmpeventtype, 'exact') ];</font></div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"><span style="font-family:Courier;font-size:10px"><br class="gmail-m_7232969537969680070gmail-Apple-interchange-newline"><span style="font-family:arial,sans-serif;font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">I switched the strmatch for contains, and this seems to have fixed the error. </span><br></span></div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"><span style="font-size:10px"><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><font face="monospace, monospace"><br></font></span></span></div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><font face="monospace, monospace">Ieventtmp = [ Ieventtmp find(contains(tmpeventtype,<wbr>tmpevent))];</font><br></span></div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><font face="monospace, monospace"><br></font></span></div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"><font face="arial, helvetica, sans-serif">If anyone else is having this issue, you may want to try this. </font></div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"><font face="arial, helvetica, sans-serif"><br></font></div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"><font face="arial, helvetica, sans-serif">Thanks,</font></div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"><font face="arial, helvetica, sans-serif">Kelly</font></div><br class="gmail-m_7232969537969680070gmail-Apple-interchange-newline"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 27, 2018 at 12:15 PM, Ramón Martinez <span dir="ltr"><<a href="mailto:nucleuscub@gmail.com" target="_blank">nucleuscub@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear Kelly,<div>Would you mind to share a sample set so we can reproduce this issue? Please, consider doing so by filing a bug report <a href="https://sccn.ucsd.edu/bugzilla/" target="_blank">here</a>. </div><div> Thanks,</div><div>Ramon</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="gmail-m_7232969537969680070h5">On Thu, Jul 26, 2018 at 6:27 PM, Kelly Michaelis <span dir="ltr"><<a href="mailto:kcmichaelis@gmail.com" target="_blank">kcmichaelis@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="gmail-m_7232969537969680070h5"><div dir="ltr">Hello list,<div><br></div><div>I'm running into a very peculiar error with pop_epoch. I'm trying to process a large number of files, and so I really want to use command line functions rather that the GUI. However, when I try to use pop_epoch, I get the following error:</div><div><br></div><div><div>>EEG = pop_epoch( EEG, {  '510 '  '511 '  '610 '  '611 '  '710 '  '711 '  '810 '  '811 '  }, [-2  2], 'newname', 'EGI file resampled pruned with ICA epochs', 'epochinfo', 'yes');</div><div><div>>Error using pop_epoch (line 235)</div><div>>pop_epoch(): empty epoch range (no epochs were found).</div><div> </div></div><div><br></div><div>When I load the exact same dataset into the GUI and use Tools>Extract Epochs and select the same event types using ctrl/select to select all 8 events, everything works fine. I don't understand what the issue is. Can anyone help? Since I'm processing so many sets through a long pipeline, loading each one into the GUI to epoch will significantly slow down what would otherwise be an automatic process.</div><div><br></div><div>Thank you!</div><span class="gmail-m_7232969537969680070m_7460543811981818818HOEnZb"><font color="#888888"><div><br></div><div>Kelly</div><div><br></div><div><br></div></font></span></div></div>
<br></div></div>______________________________<wbr>_________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" target="_blank">http://sccn.ucsd.edu/eeglab/ee<wbr>glabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.uc<wbr>sd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.e<wbr>du</a><span class="gmail-m_7232969537969680070HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="gmail-m_7232969537969680070HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="gmail-m_7232969537969680070m_7460543811981818818gmail_signature"><div dir="ltr"><div><span style="color:rgb(136,136,136)">______________________________<wbr>_______________________</span><br></div><div><span style="color:rgb(136,136,136)">Ramon Martinez-Cancino</span></div><span style="color:rgb(136,136,136)">Swartz Center for Computational Neuroscience</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Institute for Neural Computation, University of California San Diego</span><br></div></div>
</font></span></div>
</blockquote></div><br></div></div>