<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><div><br></div></div></div>