.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEIsCIFHeaderCompliant

.. oe:function:: OEIsCIFHeaderCompliant

   .. oe:language:: c++

       .. oe:api:: c++

          bool OEIsCIFHeaderCompliant(OEMolBase& mol,
                                      const string& cifDictionaryFilename,
                                      vector<string>& failCategories)

   .. oe:language:: python

       .. oe:api:: python

          OEIsCIFHeaderCompliant(mol: Union[OEGraphMol,OEMol,OEQMol],
                                 filename: str) -> list

   Checks if mmCIF header metadata stored on the molecule is compliant with the input dictionary of supported
   CIF categories. The latest version of this dictionary can be found on the
   `RCSB user guide <https://mmcif.wwpdb.org/dictionaries/downloads.html>`_

   .. seealso::

      * :oe:func:`OEChem::OEGetMMCIFData` function to get mmCIF data
      * :oe:func:`OEChem::OESetMMCIFData` function to add mmCIF data
      * :ref:`section_moldata_MMCIF` section
