setConf

fun setConf(frag: ConfLib.Fragment, conf: ConfLib.Conf)

Removes the current atoms from the molecule, including associated bonds. Then adds the mutated atoms to the molecule, adding bonds and aligning to the anchor as necessary.

If the molecule is a polymer, the new atoms are added to the residues of their anchor atoms.

Also set the atom pointer resolver.