.. include:: ../substitutions

.. oe:namespace:: OEGraphSim

.. meta::
   :keywords: OEMakeMACCS166FP

.. oe:function:: OEMakeMACCS166FP

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

      .. oe:api::

         bool OEMakeMACCS166FP(OEFingerPrint& fp, const OEChem::OEMolBase& mol)

   .. oe:language:: python

      .. oe:api:: python

         OEMakeMACCS166FP(fp: OEFingerPrint,
                          mol: Union[OEGraphMol,OEMol,OEQMol]) -> bool

   Generates the :ref:`OEFingerPrint <OEGraphSim_OEFingerPrint>` object as a
   :ref:`section_fingerprint_maccs` fingerprint.

   *fp*
      |makefp|

   *mol*
      |makefpmol|

   .. note::

      For an empty molecule, the :oe:func:`OEGraphSim::OEMakeMACCS166FP`
      function will return ``false`` and the type of the fingerprint
      will be set to ``0``
      (:oe:meth:`OEGraphSim::OEFingerPrint::GetFPTypeBase`).

   .. seealso::

      * :ref:`section_fingerprint_maccs` section
