
********************************************************************************
Version  1.3.1 
********************************************************************************

OEChem  1.3.1 
================================================================================

Major bug fixes
--------------------------------------------------------------------------------

*  Fix cis/trans bond stereochemistry perception when reading MDL
   MOL and SD files via :oe:func:`OEChem::OEReadMDLFile`.  We were overly aggressive
   when marking double bonds in rings as cis vs. trans due to a missing
   call to :oe:func:`OEChem::OEFindRingAtomsAndBonds`.  We also no longer attempt
   to attribute E/Z stereochemistry to connection tables without coordinates,
   or when any of the relevant bond lengths are zero.

Minor bug fixes
--------------------------------------------------------------------------------

*  Accidentally *OEChem*`s zmatrix handling functions were documented
   in the *OEChem* documentation but were missing from the distributed list
   of header files.  This oversight has been corrected and the classes
   `OEChem::OECartesianToInternal` and `OEChem::OEInternalToCartesian` 
   and the functions :oe:func:`OEChem::OECalcCartesianCoord` and 
   :oe:func:`OEChem::OECalcInternalCoord` are now publicly available.

*  Handle (and optimize) the case where :oe:func:`OEChem::OECanonicalOrderAtoms`
   or :oe:func:`OEChem::OECanonicalOrderBonds` is called with less then two atoms.

*  Fixes :oe:func:`OEChem::OEGetSmallestSubtree` to correctly return the smallest
   set of atoms on either side of a given bond when the molecule contains
   disconnected components.

*  Performance improvements to **OEGraphMolParameter**, to avoid
   using :ref:`OEIsomericConfTest <OEChem_OEIsomericConfTest>` when loading single conformer molecules.

*  Bug fix to :oe:meth:`OEMCMolBase::DeleteConf<OEChem::OEMCMolBase::DeleteConf>` 
   that could occasionally result in that multi-conformer molecule's active 
   conformer being corrupted.

*  Tweak to :oe:func:`OEChem::OEMDLPerceiveBondStereo` to preferentially place the
   wedge or hash bond on the bond to an explicit hydrogen, for chiral stereo
   centers of degree three.

*  Enhancements to :oe:func:`OEChem::OEMDLPerceiveParity` to support chiral
   atoms with two heavy atom neighbors and an explicit hydrogen.  These
   aren't supported by MDL software (including ISIS/Draw) but this allows
   *OEChem* to convert ``X[N@H]Y`` to an MDL mol file and back to isomeric
   SMILES without loss of information.

*  Improvements to :oe:func:`OEChem::OEMDLStereoFromParity` to set *OEChem*'s
   atomic chirality for the MDL stereo parity flag for both degree three
   and degree four atom stereo centers.

*  Correct problem in `OEChem::OEMiniAtom::Copy` where duplicating an
   atom would preserve the explicit degree of the original, as returned by
   :oe:meth:`OEChem::OEAtomBase::GetExplicitDegree`.

*  Fixes to both `OEChem::OEMiniBond::SetOrder` and
   `OEChem::OEMiniBond::SetIntType` that would incorrectly reset the
   aromaticity and in-ring flags of a bond as a side-effect.

*  Miscellaneous fixes and improvements to `OEChem::OEMiniMol::Copy`.

*  Fix to :oe:meth:`OEChem::oemolostream::openstring` to allow an 
   :ref:`oemolostream <OEChem_oemolostream>`
   to be reused multiple times, rather than constructed and destructed for each
   use.

*  :oe:func:`OEChem::OEPerceiveSymmetry` would previously segmentation fault on some 
   platforms if passed a molecule with no atoms.  This routine has now been
   idiot-proofed.

*  Maintenance updates to :oe:func:`OEChem::OEReadPDBFile` to handle PDB files
   deposited at RCSB, up to July 2004.  For example, correctly handling
   the hetero atoms of the ``NZQ`` residue of pdb1oj7.ent.

*  A serious performance regression in :oe:func:`OEChem::OERMSD` has been addressed.
   A change to :oe:func:`OEChem::OERMSD` for *OEChem* 1.3 unexpectedly resulted in a
   significant drop in superposition speed.  This has now been resolved and
   :oe:func:`OEChem::OERMSD` is as fast as (or faster than) it was in *OEChem* 1.2.

*  The string reference argument to :oe:func:`OEChem::OESetComment` is now correctly
   marked as `const`.  This value is never modified by this function.

*  The sanity checking in :oe:func:`OEChem::OESetTorsion` has been improved such
   that we now return false for dubious calls to that function.  For example,
   when the first and four atom pointers refer to the same atom.  Previously,
   we'd do nothing, but not indicate a failure with the return value.

*  Improvements to match limit test in :ref:`OESubSearch <OEChem_OESubSearch>` that prevent
   excessive run-times for pathological substructure search patterns. Previously,
   substructure searching of ``*.*.*.*`` wouldn't honor the match limit setting,
   and spew multiple *match limit reached* warnings.

*  Enhancement to :oe:func:`OEChem::OEWritePDBFile` to allow it to honor the
   :oe:const:`OEChem::OEOFlavor::PDB::RADIUS` flag to write an atom's radius in the PDB
   occupancy field, even when writing a molecule without residue information.

*  Better handling of out of range coordinates in :oe:func:`OEChem::OEWriteMDLFile`,
   :oe:func:`OEChem::OEWritePDBFile` and :oe:func:`OEChem::OEWriteMacroModelFile`.  
   Previously, a Cartesian coordinate larger than these file format's fixed 
   width fields would corrupt the following fields on the same line.


OESystem 1.3.1 
================================================================================

Minor bug fixes
--------------------------------------------------------------------------------

*  A fix to the function :oe:func:`OESystem::OECheckHelp` that prevents displaying
   on-line help for ``HIDDEN`` command line interface options.

*  Fixed a bug in :oe:meth:`OESystem::OEInterface::GetInterface` that would fail
   to find the correct interface by name.

*  Correct the return value for :oe:meth:`OESystem::OEInterface::DeleteInterface`.
   We now return false if we failed to delete the given interface.

*  Fixed an off-by-one error with the `OEPredVectorPtrIter::ToLast` 
   method on some kinds of iterators  (specifically, `OESystem::OEPredVectorPtrIter` s).

