Skip to content

Commit 32ee9fa

Browse files
committed
TST: changed the relative tolerance as 1e-2 for rate parameters comparison between cogent3 and iqtree
1 parent 6191e64 commit 32ee9fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_iqtree/test_fit_tree.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,5 @@ def test_fit_tree(three_otu: ArrayAlignment, iq_model: DnaModel, c3_model: str)
4343
assert k in got2.get_edge_vector()[0].params
4444
assert got2.get_edge_vector()[0].params[k] == pytest.approx(
4545
v,
46+
rel=1e-2,
4647
)

0 commit comments

Comments
 (0)