:py:mod:`cobra.manipulation.annotate` ===================================== .. py:module:: cobra.manipulation.annotate .. autoapi-nested-parse:: Provide function for annotating demand and exchange reactions. Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: cobra.manipulation.annotate.add_SBO .. py:function:: add_SBO(model: cobra.Model) -> None Add SBO terms for demands and exchanges. This works for models which follow the standard convention for constructing and naming these reactions. The reaction should only contain the single metabolite being exchanged, and the id should be EX_ or DM_ . :param model: The model whose demand and exchange reactions need to be annotated. :type model: cobra.Model