OETheFunctionFormerlyKnownAsStripSalts¶
bool OETheFunctionFormerlyKnownAsStripSalts(OEMolBase &mol)
Deletes all atoms that are not part of the largest connected component of a molecule. If two or more components of a molecule are the size of the largest component, this function keeps the first one encountered.
Note
The OETheFunctionFormerlyKnownAsStripSalts
function is
identical to OEDeleteEverythingExceptTheFirstLargestComponent
.
See also
Example program StripSalts.java