Skip to content

Commit

Permalink
lower decimals
Browse files Browse the repository at this point in the history
  • Loading branch information
dbdimitrov committed Sep 2, 2024
1 parent 3b14ecc commit c3e34a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions liana/tests/test_bivar.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def test_bivar_morans_perms():

assert 'local_scores' in mdata.mod.keys()
local_pvals = mdata.mod['local_scores'].layers['pvals']
np.testing.assert_almost_equal(mdata.mod['local_scores'].X.sum(), -346.55872, decimal=4)
np.testing.assert_almost_equal(np.mean(local_pvals), 0.52787581, decimal=6)
np.testing.assert_almost_equal(mdata.mod['local_scores'].X.sum(), -346.55872, decimal=2)
np.testing.assert_almost_equal(np.mean(local_pvals), 0.52787581, decimal=4)


def test_bivar_nondefault():
Expand Down

0 comments on commit c3e34a7

Please sign in to comment.