Skip to content

Commit

Permalink
Merge pull request #577 from opencobra/fix-matrix-display
Browse files Browse the repository at this point in the history
chore: fix display of integers by using 'raw' type
  • Loading branch information
Midnighter committed Jan 18, 2019
2 parents 128e063 + 1eb5643 commit 1747272
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions memote/suite/tests/test_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def test_absolute_extreme_coefficient_ratio(model, threshold=1e9):


@annotate(title="Independent Conservation Relations",
format_type="number")
format_type="raw")
def test_number_independent_conservation_relations(model):
"""
Show number of independent conservation relations in the model.
Expand All @@ -72,7 +72,7 @@ def test_number_independent_conservation_relations(model):


@annotate(title="Steady-state Flux Solution Vectors",
format_type="number")
format_type="raw")
def test_number_steady_state_flux_solutions(model):
"""
Show number of independent steady-state flux solution vectors for model.
Expand All @@ -91,7 +91,7 @@ def test_number_steady_state_flux_solutions(model):
""".format(ann["data"]))


@annotate(title="Rank", format_type="number")
@annotate(title="Rank", format_type="raw")
def test_matrix_rank(model):
"""
Show rank of the S-Matrix.
Expand All @@ -108,7 +108,7 @@ def test_matrix_rank(model):
"""The rank of the S-Matrix is {}.""".format(ann["data"]))


@annotate(title="Degrees Of Freedom", format_type="number")
@annotate(title="Degrees Of Freedom", format_type="raw")
def test_degrees_of_freedom(model):
"""
Show degrees of freedom of the S-Matrix.
Expand Down

0 comments on commit 1747272

Please sign in to comment.