.. include:: ../../toolkit-substitutions

.. oe:namespace:: OESpruce

.. oe:function:: OEGetPartialResidues

   .. attention::

      |TWOLANGUAGE|

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

      .. oe:api::

         bool OEGetPartialResidues(std::vector<OEChem::OEResidue>& partialResidues,
                                   const OEChem::OEMolBase& mol)

   .. oe:language:: python

      .. oe:api:: python

         OEGetPartialResidues(du: OEDesignUnit) -> OEResidueVector
         OEGetPartialResidues(mol: Union[OEGraphMol,OEMol,OEQMol]) -> OEResidueVector

   This function looks through the molecule and generates a list of standard protein residues with partial
   sidechains, which can then be passed to :oe:func:`OESpruce::OEBuildSidechains`

   .. oe:api: IGNORE

      bool OEGetPartialResidues(std::vector<OEChem::OEResidue> &partialResidues,
                                const OEBio::OEDesignUnit &du)

   .. seealso::

      * :oe:func:`OESpruce::OEBuildSidechains` function
