Shape TK 1.10.2¶
Major bug fixes¶
OEShape::OEBestOverlay::SetAllColor(true)with custom color atoms will no longer result in Tanimoto values larger than 1.0 when custom color atoms are placed on the molecule. The bug was located inOESelfColorfunction when theallColorparameter was set totrueand caused the function to arbitrarily remove the custom color atoms placed on the molecule and recalculate a new set of color atoms based on the color force field set. This meant OEBestOverlay was calculating the self term and the overlap terms with an entirely different set of color atoms.OESelfColorwill now only incur a molecule copy andOEAddColorAtomswhenOEHasColorAtomsisfalse.
Minor bug fixes¶
OEBestOverlay.SetColorForceFieldwill now throw a warning and returnfalseif OEColorForceField is not valid, as determined byOEColorForceField.Readymethod.