Skip to content

Commit

Permalink
fix: use accuracy in message that is always numeric
Browse files Browse the repository at this point in the history
  • Loading branch information
Midnighter committed Mar 24, 2020
1 parent a0bba81 commit a6e59f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/memote/suite/tests/test_essentiality.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,5 @@ def test_gene_essentiality_from_data_qualitative(model, experiment,
ann["message"][name] = wrapper.fill(
"""Ideally, every model would show a perfect accuracy of 1. In
name '{}' the model has {:.2}.""".format(
name, result["MCC"]))
name, result["ACC"]))
assert result["ACC"] > threshold
2 changes: 1 addition & 1 deletion src/memote/suite/tests/test_growth.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,5 @@ def test_growth_from_data_qualitative(model, experiment, threshold=0.95):
ann["message"][name] = wrapper.fill(
"""Ideally, every model would show a perfect accuracy of 1. In
name '{}' the model has {:.2}.""".format(
name, result["MCC"]))
name, result["ACC"]))
assert result["ACC"] > threshold

0 comments on commit a6e59f2

Please sign in to comment.