.. include:: ../substitutions

.. oe:namespace:: OEGraphSim

.. meta::
   :keywords: OEAreCompatibleDatabases

.. oe:function:: OEAreCompatibleDatabases

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

      .. oe:api::

         bool OEAreCompatibleDatabases(const OEChem::OEMolDatabase& moldb,
                                       const OEFastFPDatabase& fpdb)

   .. oe:language:: python

      .. oe:api:: python

         OEAreCompatibleDatabases(arg1: OEMolDatabase, arg2: OEFastFPDatabase) -> bool

   Returns whether a molecule database and a fingerprint database
   are constructed from the same molecule file.

   moldb
      The :ref:`OEMolDatabase <OEChem_OEMolDatabase>` object.

   fpdb
      The :ref:`OEFastFPDatabase <OEGraphSim_OEFastFPDatabase>` object.

   .. seealso::

      * :oe:func:`OEGraphSim::OECreateFastFPDatabaseFile` function
      * :ref:`OEFastFPDatabaseParams <OEGraphSim_OEFastFPDatabaseParams>` class
      * Example code in :ref:`section_examples_summary_searchfastfp` section
