pypath.utils.pyreact.ReactionSide§

class pypath.utils.pyreact.ReactionSide(members, source=[], parent=None)[source]§

Bases: AttributeHandler

__init__(members, source=[], parent=None)[source]§

Methods

__init__(members[, source, parent])

add_source(source)

equality(one, two)

expand()

Expands the ReactionSide by iterating over all combinations of all ComplexVariation and ProteinFamily members, so yields ReactionSide objects with only Protein and Complex members.

merge_attrs(attrs)

proteins()

reload()

update_attr(attr)

expand()[source]§

Expands the ReactionSide by iterating over all combinations of all ComplexVariation and ProteinFamily members, so yields ReactionSide objects with only Protein and Complex members. Yields tuple, because ReactionSide is initialized in Reaction, the tuple is suitable to serve as members and attrs.