pypath.utils.pyreact.ReactionSide§
- class pypath.utils.pyreact.ReactionSide(members, source=[], parent=None)[source]§
Bases:
AttributeHandler
Methods
__init__
(members[, source, parent])add_source
(source)equality
(one, two)expand
()Expands the
ReactionSide
by iterating over all combinations of allComplexVariation
andProteinFamily
members, so yieldsReactionSide
objects with onlyProtein
andComplex
members.merge_attrs
(attrs)proteins
()reload
()update_attr
(attr)- expand()[source]§
Expands the
ReactionSide
by iterating over all combinations of allComplexVariation
andProteinFamily
members, so yieldsReactionSide
objects with onlyProtein
andComplex
members. Yields tuple, becauseReactionSide
is initialized inReaction
, the tuple is suitable to serve asmembers
andattrs
.