.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OETriposTypeNames

.. oe:function:: OETriposTypeNames

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

      .. oe:api::

         bool OETriposTypeNames(OEMolBase& mol)

   .. oe:language:: python

      .. oe:api:: python

         OETriposTypeNames(mol: Union[OEGraphMol,OEMol,OEQMol]) -> bool

   Loops through the atoms of the molecule, setting the string atom type
   property of each atom, to atom type name of the Tripos Sybyl atom type
   encoded in the atoms integer atom type property.  This is
   approximately equivalent to the following operation:

   .. code-block:: c++

      atm->SetType(OETriposTypeName(atm->GetIntType()))

   The 'atom type name' property may be retrieved using the
   :oe:meth:`OEChem::OEAtomBase::GetType` method. If both the string and
   integer atom types are required, it is faster to call
   :oe:func:`OEChem::OETriposAtomTypes` and then
   :oe:func:`OEChem::OETriposTypeNames` (which reuses the results of the
   first call) than it is to call :oe:func:`OEChem::OETriposAtomTypes` and
   :oe:func:`OEChem::OETriposAtomTypeNames`.

   .. seealso::

      * :oe:func:`OEChem::OETriposAtomNames`

