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

Small changes to SBML loading #130

Merged
merged 3 commits into from Nov 2, 2014

Conversation

aebrahim
Copy link
Member

@aebrahim aebrahim commented Nov 1, 2014

This will handle SBML with metabolites on both sides of a reaction. A warning will be raised in this case, however. More warnings are raised for invalid formulas as well.

This reduces read time by ~35% for Salmonella.
The docstring has been updated to state that the only allowed characters
are letters and numbers. Warnings are explicitly raised for parenthesis
and '*' in a formula string.
This is case is now handled. The metabolite will not be added if it is
on both sides with the same stoichiometry.
danielhyduke added a commit that referenced this pull request Nov 2, 2014
@danielhyduke danielhyduke merged commit 1c0e55d into opencobra:master Nov 2, 2014
@aebrahim aebrahim deleted the loading_warnings branch November 3, 2014 19:31
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.

None yet

2 participants