Skip to content

Commit cbc8768

Browse files
author
Joao Felipe Rocha
committed
Modified tests atol. Added python 3.11 on run_tests
1 parent 3803e55 commit cbc8768

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/run_tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
config:
25+
- {name: '3.11', os: ubuntu-latest, python: '3.11' }
2526
- {name: '3.10', os: ubuntu-latest, python: '3.10' }
2627
- {name: '3.9', os: ubuntu-latest, python: '3.9' }
2728
- {name: '3.8', os: ubuntu-latest, python: '3.8' }

test/test_estimator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def test_anndata_input():
101101
E2 = Estimator(verbose=0)
102102
E2.fit(anndata.AnnData(X))
103103
np.testing.assert_allclose(
104-
E.graph.K.toarray(), E2.graph.K.toarray(), rtol=1e-6, atol=2e-7
104+
E.graph.K.toarray(), E2.graph.K.toarray(), rtol=1e-6, atol=1e-6
105105
)
106106

107107

0 commit comments

Comments
 (0)