-
Notifications
You must be signed in to change notification settings - Fork 230
Open
Labels
bughelp-wantedAn issue that should be easy to implement for anyone in the community.An issue that should be easy to implement for anyone in the community.
Description
From the mailing list:
Thank you! That is very helpful. If I add a reaction, the metabolites are also added (good!) but all reactions from the universal model associated with those metabolites are included in the metabolite description, even though they don't exist in the model. Is this the expected behavior?
For example, here I've only added EX_fru_e, none of the other reactions are in 'model'.
In [310]: model.add_reactions([universe.reactions.EX_fru_e])
In [311]: model.metabolites.fru_e.reactions
Out[311]:
frozenset({<Reaction FRUt2r at 0x7fa918d40630>,
<Reaction KESTOTTRASEe at 0x7fa90f107048>,
<Reaction KESTOPTASEe at 0x7fa90f107320>,
<Reaction LEVANASE_2e at 0x7fa90f124550>,
<Reaction INULINASEe at 0x7fa90f161d68>,
<Reaction OLIGOFRUASEe at 0x7fa90f09c550>,
<Reaction LEVANASE_3e at 0x7fa90f124588>,
<Reaction EX_fru_e at 0x7fa911398390>,
<Reaction LEVANASE_4e at 0x7fa90f1245c0>,
<Reaction KESTOASEe at 0x7fa90f1071d0>})Metadata
Metadata
Assignees
Labels
bughelp-wantedAn issue that should be easy to implement for anyone in the community.An issue that should be easy to implement for anyone in the community.