:orphan:

.. _section_example_fastrocs_customcolorffprep:

Custom Color FF Prep
====================

Caches custom color atoms onto molecules. The output must
be OEB. OEShapeDatabase, ShapeDatabaseServer.py, and
ShapeDatabaseClient.py will honor cached color atoms if present on the
molecules. Make sure the script is run on both the database and the
query molecules before running a search.

Code
--------------------

.. oe:language:: c++

   .. code-block:: console

      prompt> customcolorffprep <input> <output.oeb>

   .. only:: oehtml

      .. admonition:: Download code

         :download:`customcolorffprep.cpp <../../../../../sublibs/tklibs/fastrocs/examples/customcolorffprep.cpp>`

   .. only:: oepdf

      .. oe:source:: customcolorffprep.cpp
         :language: c++

.. oe:language:: python

   .. code-block:: console

      prompt> CustomColorFFPrep.py <input> <output.oeb>

   .. only:: oehtml

      .. admonition:: Download code

         :download:`CustomColorFFPrep.py <../../../../../wrappers/python/examples/fastrocs/CustomColorFFPrep.py>`

      .. :ref:`Full listing. <listing-CustomColorFFPrep.py>`

      .. literalinclude:: ../../../../../wrappers/python/examples/fastrocs/CustomColorFFPrep.py



   .. only:: oepdf

      .. oe:source:: CustomColorFFPrep.py
         :language: python

.. oe:language:: java

   .. code-block:: console

      prompt> CustomColorFFPrep <input> <output.oeb>

   .. only:: oehtml

      .. admonition:: Download code

         :download:`CustomColorFFPrep.java <../../../../../wrappers/java/examples/openeye/examples/oefastrocs/CustomColorFFPrep.java>`

   .. only:: oepdf

      .. oe:source:: CustomColorFFPrep.java
         :language: java

