orthonym.assembly.ring_prefix_order#

Note

Internal API. Names and behaviour may change between releases.

Two decisions of the substituent cascade (substituent_enumerator) on a ring-bearing fragment.

  • the order of the ring-prefix producers at the wider tiers (ring_prefix_in_pin_order);

  • the ring ‘-ylidene’ bond a chain host cites, which a ring prefix leaves out (host_cited_ylidene_bonds).

orthonym.assembly.ring_prefix_order.ring_prefix_in_pin_order(mol, frag_atoms_set, attach_idx, *, allow_mancude, pos_out)#

The Tier 1.95 ring-system prefix. The wider tiers (allow_mancude) ask what the PIN tier asks first, then the fusion prefix of Tier 4.4, and only then their own von Baeyer cage namer: (the Blue Book) a fusion name, not von Baeyer, for a system of two or more rings of five or more members (‘2H-benzo[7]annulen-2-yl’, not ‘bicyclo[5.4.0]undeca-…-9-yl’). pos_out is filled as by name_ring_system_substituent.

orthonym.assembly.ring_prefix_order.host_cited_ylidene_bonds(mol, pos, frag_set)#

The double bonds from the fragment numbered by pos to an acyclic parent atom outside frag_set (a ring ‘-ylidene’ group on a chain): the host cites them, (1) method (a) (the Blue Book), the PIN method, at the front of the name with the parent locant. Empty without frag_set.