polymerist.rdutils.bonding.formation ==================================== .. py:module:: polymerist.rdutils.bonding.formation .. autoapi-nested-parse:: Tools for creating new bonds from free Ports in RDKit Mols Attributes ---------- .. autoapisummary:: polymerist.rdutils.bonding.formation.LOGGER Functions --------- .. autoapisummary:: polymerist.rdutils.bonding.formation.increase_bond_order Module Contents --------------- .. py:data:: LOGGER .. py:function:: increase_bond_order(rwmol: rdkit.Chem.rdchem.RWMol, atom_id_1: int, atom_id_2: int, flavor_pair: tuple[Optional[int], Optional[int]] = (None, None)) -> None Exchange two ports for a bond of one higher order in a modifiable RWMol. Can optionally specify a port flavor for greater selectivity