Skip to content

all

all(serialized)

Return all reactions sharing a name-level serialized form. Unlike from_serialized, a missing key yields an empty Vector rather than raising.

Parameters

serialized : str
Canonical form "<sorted_reactants>__<sorted_products>", e.g. "H.H2O+__H2.OH+".

Returns

Vector[Reaction]
Every reaction with that serialized form, or an empty Vector if none.