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 patch to remove incorrectly parsed reactions #211

Merged
merged 3 commits into from
Sep 9, 2023

Conversation

cyrus-bio
Copy link
Contributor

Some EcoCyc reactions have the same metabolite on both sides, resulting in duplicate dict keys when we parse them with reconstruction.spreadsheets.JsonReader._decode_row. One example is https://ecocyc.org/ECOLI/NEW-IMAGE?object=RXN-12440.

The model can use them to "cheat" since they're not mass balanced, thereby constituting a mass/carbon generating reaction.

Ideally we'd create some test to see if all reactions are mass balanced at the end, but this'll do for now.

@cyrus-bio cyrus-bio merged commit bddcea9 into master Sep 9, 2023
2 checks passed
@cyrus-bio cyrus-bio deleted the reaction-patch branch September 9, 2023 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant