.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEMDLStereoFromParity

.. oe:function:: OEMDLStereoFromParity

   .. oe:language:: c++ java csharp

      .. oe:api::

         void OEMDLStereoFromParity(OEMolBase& mol)

   .. oe:language:: python

      .. oe:api:: python

         OEMDLStereoFromParity(mol: Union[OEGraphMol,OEMol,OEQMol]) -> None

   This function sets the **OEChem TK** stereochemistry for each atom from the
   MDL stereo parity information.

   .. note::

      This function is the opposite of the
      :oe:func:`OEChem::OEMDLPerceiveParity` function.

   .. seealso::

      * :oe:func:`OEChem::OEMDLHasParity` function
      * :oe:func:`OEChem::OEMDLSetParity` and :oe:func:`OEChem::OEMDLGetParity` functions
      * :oe:func:`OEChem::OEMDLClearParity` function

