Skip to content

Commit

Permalink
fix repeatings
Browse files Browse the repository at this point in the history
  • Loading branch information
CunliangGeng committed Jun 6, 2024
1 parent 145bd22 commit 3974c23
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/scoring/test_metcalf_scoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def test_setup(mc, datalinks):
assert isinstance(mc.metcalf_mean, np.ndarray)
assert isinstance(mc.metcalf_std, np.ndarray)
assert mc.metcalf_mean.shape == (4, 4) # (n_strains+1 , n_strains+1)
assert mc.metcalf_mean.shape == (4, 4)
assert mc.metcalf_std.shape == (4, 4)


def test_setup_load_cache(mc, npl, datalinks, caplog):
Expand Down Expand Up @@ -85,7 +85,7 @@ def test_setup_load_cache(mc, npl, datalinks, caplog):
assert isinstance(mc.metcalf_mean, np.ndarray)
assert isinstance(mc.metcalf_std, np.ndarray)
assert mc.metcalf_mean.shape == (4, 4) # (n_strains+1 , n_strains+1)
assert mc.metcalf_mean.shape == (4, 4)
assert mc.metcalf_std.shape == (4, 4)


#
Expand Down Expand Up @@ -127,7 +127,7 @@ def test_calc_score_mean_std(mc, datalinks):
assert isinstance(mc.metcalf_mean, np.ndarray)
assert isinstance(mc.metcalf_std, np.ndarray)
assert mc.metcalf_mean.shape == (4, 4) # (n_strains+1 , n_strains+1)
assert mc.metcalf_mean.shape == (4, 4)
assert mc.metcalf_std.shape == (4, 4)
# TODO CG: add tests for values after refactoring _calc_mean_std method
# assert mc.metcalf_mean == expected_array

Expand Down

0 comments on commit 3974c23

Please sign in to comment.