Is there a way to convert an event marker group from channel events to a general event (i.e clear the channel parameter) inside of Brainstorm? I'm trying to have 2 copies of the markers, the channel-specific group and a second event group that shows the overarching unique time points where there are events without being channel specific. The only solution I've found is to make a copy of the event group then go into the events struct in the .mat file and manually clear the "channel" field. This is a bit cumbersome at scale so I am wondering if there is anywhere that this parameter is exposed in the Brainstorm UI itself that I may have missed.
Also, duplicating and merging event groups works when I use the submenus in the "Events" section of the UI; but, when I try to call the same processes from the Run command window, or MATLAB script, I get indexing issues that cause it to fail even though there aren't any indications of size/formatting constraints anywhere. Any insight is greatly appreciated.
There was not, but now there is a way to do so.
There is the menu Events > Set channel info that allows you to do so. In case you want to script it, this is the same as the process Events > Set channel info. Commit 5d6d268
Update your Brainstorm instance to see this option.
We use the duplicate/merge event in different parts and it seems to be working without troubles.
Can you provide more information on this issue?
GUI: screenshots showing the data file that is open, and its events panel
The duplicate/merge actions that you perform, and a screenshot with the result (updated events)
Process: The parameters with which the Duplicate/merge process is called
The error message that returns. If closed it can be seen in the report viewer (main window, menu File > Report viewer)
Thank you for the update to the channel info. Regarding the error, I already wrote a workaround for my use cases so I don't know that I can reproduce the error logs for it at the moment. I did screenshot the error at the time though. When trying to merge 3 event groups, I got the error shown here