orthonym.rules.fused_ring_branch#

Note

Internal API. Names and behaviour may change between releases.

An acyclic branch on a fused ring core that no element branch of fused_rings._identify_fused_substituent knows.

The identifier knew the sulfanyl and alkylsulfanyl branches on a sulfur root and sent every ring-bearing branch to the ring delegate; any other branch returned None, and its caller skipped it (continue), so the name lost the branch and only the read-back stopped it: ‘1-(methanesulfonyl)-N-methyl-1H-indole-5-carboxamide’ got no name at the PIN tier. The branch is named here by the shared substituent namer (substituent_enumerator.name_substituent: ‘methanesulfonyl’, ‘tert-butoxycarbonyl’, acyl groups of sulfonic acids,:31285 ‘2-(methanesulfonyl)ethan-1-ol (PIN)’ form); its failure placeholder (‘substituent’, errors.CASCADE_PLACEHOLDER) is no name. At the PIN tier the name is kept only through pin_vocabulary.promote_at_pin_tier, as for the ring delegate.

orthonym.rules.fused_ring_branch.acyclic_branch_record(mol, start_idx, excluded)#

{'name', 'type': 'functionalized', 'atoms'} for the acyclic branch rooted at start_idx (every atom outside a ring, at most 25 atoms), or None.