def parse_flux_bounds(entry):
lower_bound = None<EOL>upper_bound = None<EOL>for parameter in entry.kinetic_law_reaction_parameters:<EOL><INDENT>pid, name, value, units = parameter<EOL>if pid == '<STR_LIT>' or name == '<STR_LIT>':<EOL><INDENT>upper_bound = value<EOL><DEDENT>elif pid == '<STR_LIT>' or name == '<STR_LIT>':<EOL><INDENT>lower_bound = value<EOL><DEDENT><DEDENT>return lower_bound, upper_bound<EOL>
Return flux bounds for reaction entry.

    Detect flux bounds that are specified using the non-standardized
    kinetic law parameters which are used by many pre-FBC SBML models. The
    flux bounds are returned as a pair of lower, upper bounds. The returned
    bound is None if undefined.

    Args:
        entry: :class:`SBMLReactionEntry`.