skimpy.utils.general ==================== .. py:module:: skimpy.utils.general .. autoapi-nested-parse:: .. module:: skimpy :platform: Unix, Windows :synopsis: Simple Kinetic Models in Python .. moduleauthor:: SKiMPy team [---------] Copyright 2017 Laboratory of Computational Systems Biotechnology (LCSB), Ecole Polytechnique Federale de Lausanne (EPFL), Switzerland Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Functions --------- .. autoapisummary:: skimpy.utils.general.join_dicts skimpy.utils.general.get_stoichiometry skimpy.utils.general.check_is_symbol skimpy.utils.general.sanitize_cobra_vars skimpy.utils.general.get_all_subclasses skimpy.utils.general.make_subclasses_dict skimpy.utils.general.robust_index skimpy.utils.general.get_all_reactants Module Contents --------------- .. py:function:: join_dicts(dicts) .. py:function:: get_stoichiometry(kinetic_model, variables) .. py:function:: check_is_symbol(s_in) .. py:function:: sanitize_cobra_vars(met_name) .. py:function:: get_all_subclasses(cls) .. py:function:: make_subclasses_dict(cls) .. py:function:: robust_index(in_var) Indexing can be done with symbols or strings representing the symbol, so we harmonize it by returning the name of the symbol if the input is of type symbol :param in_var: :type in_var: str or sympy.Symbol :return: .. py:function:: get_all_reactants(model)