Multiple group¶
A fragment that stands for several identical copies of itself, such as the (CH2)3 of a chain.
The molecule holds one copy of the repeated fragment, and the group says how many copies the structure has in total. A reader that expands the group adds the missing copies, and the bonds that cross the bracket join the copies into a chain.
Appears in¶
An element of the sgroups array of a Molecule. Its atom indexes refer to that molecule’s atoms.
Identified by¶
"type": "MUL".
Attributes¶
type¶
Type: string
Required: yes
Values:
"MUL"
S-group type; always MUL.
atoms¶
Type: array of integer
Required: yes
Items: at least 1
Indexes of the atoms of one copy of the repeated fragment, in the molecule’s atoms array.
The other copies are not written: their atoms are not in the molecule.
mul¶
Type: integer
Required: yes
Values: 1 to 1000
Total number of copies of the fragment, the one written included.
Rules¶
type,atomsandmulare required.atomslists each atom of one copy once; the molecule holds no other copy of the fragment.
Gotchas¶
mulcounts all copies:"mul": 3with a writtenCH2stands for threeCH2groups, not four.