Skip to content

get

get(reaction, rtype=None)

Look up a reaction by verbatim string or serialized form, with optional type filter.

Parameters

reaction : str
Verbatim string (e.g. "H + H2O+ -> H2 + OH+") or serialized form (e.g. "H_H2Oj__H2_OHj").
rtype : str or None, optional
If given, only returns the reaction if its type matches.

Returns

Reaction or None
The matching reaction, or None if not found.