Currently, viewer.expandAndCollapseSelection(proteinIdentifier) uses the UniProt id to collapse or expand the proteins, but this is problematic on cases such as this one on intact-portal because both participants have the same identifier, but they are not the same participants.
Would there be a way to use IntAct participant's ac for this function instead, to avoid this problem? Or maybe se should add another parameter indicating which field complex viewer should be looking for among the participants to collapse/expand them? e.g. viewer.expandAndCollapseSelection(id, idType)
P.S.: I'm relatevily new to IntAct team, and began recently to work a bit on complex viewer, but you've done a really good job here @colin-combe, it's a really nice viewer. Thanks a lot for your help and support!