dgllife.utils.atomic_number

dgllife.utils.atomic_number(atom)[source]

Get the atomic number for an atom.

Parameters

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

Returns

List containing one int only.

Return type

list