Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reaction stoichiometry doubled on deletion #29

Closed
aebrahim opened this issue Aug 29, 2013 · 0 comments
Closed

reaction stoichiometry doubled on deletion #29

aebrahim opened this issue Aug 29, 2013 · 0 comments
Assignees
Labels

Comments

@aebrahim
Copy link
Member

The following sample code demonstrates the bug

import cobra.test
model = cobra.test.create_test_model()
pgi = model.reactions.get_by_id("PGI")
print "before deletion:", pgi.reaction
model.remove_reactions([pgi])
print "after deletion:", pgi.reaction

outputs:

before deletion: 1.0 g6p_c <=> 1.0 f6p_c
after deletion: 2.0 g6p_c <=> 2.0 f6p_c
@ghost ghost assigned aebrahim Aug 29, 2013
danielhyduke added a commit that referenced this issue Aug 29, 2013
patch for [cobrapy] reaction stoichiometry doubled on deletion (#29)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants