def _try_parse_reaction(self, reaction_id, s,<EOL>parser=parse_reaction, **kwargs):
try:<EOL><INDENT>return parser(s, **kwargs)<EOL><DEDENT>except ReactionParseError as e:<EOL><INDENT>if e.indicator is not None:<EOL><INDENT>logger.error('<STR_LIT>'.format(<EOL>str(e), s, e.indicator))<EOL><DEDENT>raise ParseError('<STR_LIT>'.format(<EOL>reaction_id, s))<EOL><DEDENT>
Try to parse the given reaction equation string.

        Returns the parsed Reaction object, or raises an error if the reaction
        could not be parsed.