.. include:: ../substitutions

.. oe:namespace:: OEGraphSim

.. meta::
   :keywords: OEMakeLingoFP

.. oe:function:: OEMakeLingoFP

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

      .. oe:api::

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

   .. oe:language:: python

      .. oe:api:: python

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

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

   *fp*
      |makefp|

   *mol*
      |makefpmol|

   .. note::

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

   .. seealso::

      * :ref:`section_fingerprint_lingo` section
