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

MSCommunity and Msmodelutl edits #143

Open
wants to merge 7 commits into
base: dev
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
msmodelutls polishing
  • Loading branch information
Andrew Freiburger authored and Andrew Freiburger committed Jul 2, 2022
commit f2f506e919e1d86a0209f08b76e8b91765d366f7
2 changes: 1 addition & 1 deletion modelseedpy/core/msmodelutl.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def exchange_list(self):
def exchange_hash(self):
exchange_reactions = {}
exlist = self.exchange_list()
for ex_rxn in self.exchange_list():
for ex_rxn in exlist:
for met in ex_rxn.metabolites:
if ex_rxn.metabolites[met] == -1:
exchange_reactions[met] = ex_rxn
Expand Down