Molecular properties

MolecularGraph.heavyatomcountMethod
heavyatomcount(mol::GraphMol) -> Vector{Int}

Return the size $n$ vector of the number of adjacent non-hydrogen atoms within the molecule that have $n$ atoms.

source
MolecularGraph.lonepairMethod
lonepair(mol::GraphMol) -> Vector{Union{Int,Nothing}}

Return the size $n$ vector of the number of lone pairs within the molecule that have $n$ atoms.

Note that implicit hydrogens are available for only organic atoms. The lonepair value of inorganic atoms would be nothing. The result can take negative value if the atom has empty valence shells.

source