dgllife.utils.bond_is_in_ring

dgllife.utils.bond_is_in_ring(bond)[source]

Get whether the bond is in a ring of any size.

Parameters

bond (rdkit.Chem.rdchem.Bond) – RDKit bond instance.

Returns

List containing one bool only.

Return type

list