• Toggles the selection state of a residue number in either the "act" or "pass" list.

    Parameters

    • resno: number

      The residue number to toggle.

    • pick: ActPass

      The selection type, either "act" or "pass".

    • current: ResidueSelection

      The current selection state containing "act" and "pass" lists.

    Returns ResidueSelection

    The new selection state with the residue number toggled in the appropriate list.