Skip to content

Commit d362f51

Browse files
authored
Merge pull request #949 from BenjaSanchez/fix/infinity-bound-sbo-terms
fix: SBO terms for infinity bounds
2 parents be8c98a + c585b75 commit d362f51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cobra/io/sbml.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,9 +1003,9 @@ def _model_to_sbml(cobra_model, f_replace=None, units=True):
10031003
_create_parameter(model, pid=ZERO_BOUND_ID,
10041004
value=0, sbo=SBO_DEFAULT_FLUX_BOUND)
10051005
_create_parameter(model, pid=BOUND_MINUS_INF,
1006-
value=-float("Inf"), sbo=SBO_FLUX_BOUND)
1006+
value=-float("Inf"), sbo=SBO_DEFAULT_FLUX_BOUND)
10071007
_create_parameter(model, pid=BOUND_PLUS_INF,
1008-
value=float("Inf"), sbo=SBO_FLUX_BOUND)
1008+
value=float("Inf"), sbo=SBO_DEFAULT_FLUX_BOUND)
10091009

10101010
# Compartments
10111011
# FIXME: use first class compartment model (and write notes & annotations)

0 commit comments

Comments
 (0)