.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEAtomGetMDLParity

.. oe:function:: OEAtomGetMDLParity

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

      .. oe:api::

         unsigned int OEAtomGetMDLParity(const OEAtomBase* atm)

   .. oe:language:: python

      .. oe:api:: python

         OEAtomGetMDLParity(atm: OEAtomBase) -> int

   This function is used to retrieve the 'MDL Parity' value associated
   with an atom.  The interpretation of this unsigned integer is
   described in the MDL file format documentation, and will appear in the
   appropriate atom parity column of the atom connection tables in MDL
   file formats.  This value may be set using the
   :oe:func:`OEChem::OEAtomSetMDLParity` function.

