dgllife.utils.atom_explicit_valence

dgllife.utils.atom_explicit_valence(atom)[source]

Get the explicit valence of an atom.

Parameters

atom (rdkit.Chem.rdchem.Atom) – RDKit atom instance.

Returns

List containing one int only.

Return type

list