<div dir="ltr"><div>Dear Kelly, <br></div><div><br></div><div>If the GUI route works fine, have you compared your script with that from the GUI using 'eegh' ?<br></div><div><br></div><div><br></div><div>Best <br></div><div>Nike<br></div><div><br></div><div><div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>---------- Forwarded message ----------<br>From: Kelly Michaelis <<a href="mailto:kcmichaelis@gmail.com">kcmichaelis@gmail.com</a>><br>To: <a href="mailto:eeglablist@sccn.ucsd.edu">eeglablist@sccn.ucsd.edu</a><br>Cc: <br>Bcc: <br>Date: Thu, 26 Jul 2018 12:27:08 -0400<br>Subject: [Eeglablist] Error in pop_epoch command line<br><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><div><br></div><div>Kelly</div><div><br></div><br></div></div></blockquote></div><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font face="georgia,serif" color="#6633ff"><a href="http://goog_636235333" target="_blank">G Nike Gnanateja</a></font></div><div><font face="georgia,serif" color="#6633ff">Ph.D Candidate,</font></div><div><font face="georgia,serif" color="#6633ff">Department of Audiology, </font></div><div><font face="georgia,serif" color="#6633ff">All India Institute of Speech</font></div><div><font face="georgia,serif" color="#6633ff">and Hearing Mysore-06</font></div></div></div></div></div></div></div>
</div></div></div></div>