Grand average across subgroups

Hi

I have two groups (CG and HLG) who completed an EEG task. One of these groups has two subgroups (tagged - _HLG_MLD and _HLG_MOD). I generated a grand average from the subject averages for the three sub/groups. I would like to calculate a grand average for the second group (the two subgroups treated as one group). How do I do this? When I use the interface I get the below message. I can't seem to use just the tag (HLG) in scripting. It comes back with averages for the two subgroups separately.

File is alone in its trial/comment group. Not processed.

The easiest is maybe to use the search interface to generate a script that selects the files you need from the database, and then call the averaging process with the option : "Group files: Everything".

https://neuroimage.usc.edu/brainstorm/Tutorials/PipelineEditor#Search_Database