Closed Allexxann closed 4 years ago
Hi, I was looking for the same thing.
pop_epoch2continuous.m needs a parameter that allows suppressing the question box. So far, the only solution I've found is changing the erplab M file, which isn't a good one since it prevents from sharing pipelines/scripts.
Hi there,
Thanks for the report.
I think a call like this should work with no popup and no warning:
EEG2 = pop_epoch2continuous(EEG,'Warning','off');
Does that work for you?
Shouldn't that be in the help part of the function? Because it seems like noone here had any idea that's an option at all.
Okay, this is solved, the magical parameter is here: pop_epoch2continuous(EEG,'Warning','off');
Shame it's not mentioned in the help part of the function, but whatever.
I agree that this parameter should already be described in the help for this function.
I have added this now, in the latest commit. This will be included in the next ERPLAB release.
See the changes here: https://github.com/lucklab/erplab/commit/440b0e04e169cb17900c8fe1eb959a1759d194b3
pop_epoch2continuous has insuppressable pop-up, which breaks all attempts to loop it in scripts.
Function pop_epoch2continuous has no keys to suppress question box, you have to comment corresponding lines.
Steps to Reproduce
Expected behavior: Expected some obvious way of suppressing pop-up, like 'warning' key.
Actual behavior: No such thing.
Versions