.. # split from OEDockingFunctions.rst:695


.. oe:namespace:: OEDocking

.. meta::
   :keywords: OEReceptorGetExtraMols

.. oe:function:: OEReceptorGetExtraMols

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

      .. oe:api::

         OEIterBase<const OEMolBase>* OEReceptorGetExtraMols(const OEChem::OEMolBase& receptor)

   .. oe:language:: python

      .. oe:api:: python

         OEReceptorGetExtraMols(rec: Union[OEGraphMol,OEMol,OEQMol]) -> Iterable[OEGraphMol]

   Returns an iterator over the extra molecules held by *receptor*.

   It is only valid to call this function if *receptor* is a valid receptor 
   (i.e., :oe:func:`OEDocking::OEIsReceptor` returns true).

