polymerist.rdutils.rdprops.bondprops
For assigning, transferring, and removing properties of RDKit Bonds
Attributes
Functions
|
Returns list of indices of bonds which have a particular property assigned |
|
Collects the values of a given Prop across all bonds in an RDKit molecule |
|
Wipe properties of all bonds in a molecule |
|
Labels the desired Prop for all bonds in a Mol which have it |
|
Draws bond indices over their positions when displaying a Mol. |
|
Removes bond annotations over their positions when displaying a Mol |
Module Contents
- polymerist.rdutils.rdprops.bondprops.T
- polymerist.rdutils.rdprops.bondprops.bond_ids_with_prop(rdmol: rdkit.Chem.Mol, prop_name: str) list[int][source]
Returns list of indices of bonds which have a particular property assigned
- polymerist.rdutils.rdprops.bondprops.aggregate_bond_prop(rdmol: rdkit.Chem.Mol, prop: str, prop_type: T = str) dict[int, T][source]
Collects the values of a given Prop across all bonds in an RDKit molecule
- polymerist.rdutils.rdprops.bondprops.clear_bond_props(rdmol: rdkit.Chem.Mol) None[source]
Wipe properties of all bonds in a molecule
- polymerist.rdutils.rdprops.bondprops.annotate_bond_prop(rdmol: rdkit.Chem.Mol, prop: str, prop_type: T = str, annotate_precision: int | None = None) None[source]
Labels the desired Prop for all bonds in a Mol which have it