********************************************************************************
Version 1.7.7 
********************************************************************************

OEChem 1.7.7
================================================================================

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

* The :ref:`OELibraryGen <OEChem_OELibraryGen>` class checks the connectivity of each
  generated product. If any of the atom pairs of a product is connected by 
  more then one bond, for example in molecule ``C1C``, then that product is 
  rejected and not returned by the :oe:meth:`OEChem::OELibraryGen::GetProducts` 
  method.

* Fixed a bug that would invalidate an atom iterator after deleting
  the atom the iterator currently points at. This would only occur on
  molecules that already had deleted atoms when the iterator was
  constructed from a ``GetAtoms`` method that takes a predicate.

* :oe:meth:`OEChem::oemolstreambase::GetFlavor` will no longer crash
  when given a format larger than
  :oe:const:`OEChem::OEFormat::MAXFORMAT`.

* :oe:func:`OEChem::OEAddMols` will now set the dimension of the left
  hand side to the dimension of the right hand side if the dimension of
  the left hand side is zero. This allows an empty molecule to be used to 
  accumulate 3 dimensional molecule without losing the dimension. 

* Fixed a bug in the procedure for generating atom names for PDB files
  that could cause a crash when some atoms have very high atom
  indices.

.. oe:language:: python

   * Added an :oe:func:`OEChem::OERMSD` overload to accept two
     :ref:`OEMolBase <OEChem_OEMolBase>` objects and an array of double and
     throw an error to protect against implicit casts to boolean in Python. 

OEBio 1.7.7
================================================================================

New features
--------------------------------------------------------------------------------

* Added the :oe:func:`OEBio::OESymmetryFractionalToCartesian` and
  :oe:func:`OEBio::OESymmetryCartesianToFractional` functions to swap
  between crystal coordinates and cartesian coordinates.

* Added the :oe:func:`OEBio::OEBuildUnitCell` function to apply the
  symmetry operations to the asymmetric unit cell to
  generate the complete unit cell given a molecule and a spacegroup.

* :oe:func:`OEBio::OESetCrystalSymmetry` now has a force flag that sets the 
  symmetry parameters even if the cell restrictions are violated.

Bug fixes
--------------------------------------------------------------------------------

* :oe:func:`OEBio::OECopyCrystalSymmetry` now follows standard OpenEye guidelines for 
  argument position and naming to always have the output parameter
  first.  This is an API breaking change,
  code that previously used :oe:func:`OEBio::OECopyCrystalSymmetry`
  will no longer work.

* Slightly reduced memory footprint of symmetry operations.

* Crystal spacegroup names from PDB files are now handled more robustly when
  searching for CCP4 long and short names.

* Added symmetry operations for the P21/n space group.


OESystem 1.7.7
================================================================================

New features
--------------------------------------------------------------------------------

* Adding the :oe:const:`OESystem::OESystem::OETransparentColor` color constant 
  that is used in **OEDepict TK** to generate PNG images with a transparent background.

* The ``OEGeom*`` functions should now be fully wrapped in the target
  languages: Python, Java, and C#.

Bug fixes
--------------------------------------------------------------------------------

* The :ref:`OEPredIter <OESystem_OEPredIter>` increment and decrement methods
  will now always move the underlying iterator before checking the
  validity of the underlying iterator. This fixed the OEChem bug that
  invalidated an atom iterator after the current atom was deleted.

* Fixed a memory leak inside :oe:meth:`OESystem::OEIter::Push` that
  takes a predicate.

* :oe:func:`OESystem::OECopyBaseData` used to call ``Clear`` on the
  destination object before copying the data. This could clear an entire
  molecule instead of the just the generic
  data. :oe:func:`OESystem::OECopyBaseData` will now only delete the
  existing generic data.


OEPlatform 1.7.7
================================================================================

New features
--------------------------------------------------------------------------------

* :oe:func:`OEPlatform::OEIsNormalNum` added to return whether a
  floating point number is normalized, denormalized, or zero. 

* :oe:func:`OEPlatform::OEGetProcessMemUsage` added to return the
  amount of memory being used by the current process.

Bug fixes
--------------------------------------------------------------------------------

* :oe:func:`OEPlatform::OEIsNaN` fixed to actually work when the
  compiler was passed ``-ffast-math``. Also, it will now return
  ``true`` whenever passed ``NaN`` or ``Infinity``.

* ``OEAllocate`` and
  ``OEDeallocate`` were deprecated long ago and are
  now removed.
