xnn.common.data.hub.gmtkn55.parse_reactions#

xnn.common.data.hub.gmtkn55.parse_reactions(text)[source]#

Reactions of one .res file: (species names, coefficients, reference in kcal/mol).

A reaction line names its species (bash brace groups allowed), then x, the signed coefficients, $w and the reference value; everything after # is a comment.

Parameters:

text (str)

Return type:

list[tuple[list[str], list[int], float]]