Skip to content

Commit

Permalink
Fix CI (#373)
Browse files Browse the repository at this point in the history
* Exclude broken igraph versions

* Reduce precision of clonotype network test

* reduce precision further
  • Loading branch information
grst authored Nov 20, 2022
1 parent 831f817 commit 5b381ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ dependencies = [
'parasail != 1.2.1',
'scikit-learn',
'python-levenshtein',
'python-igraph',
# 0.10.0 and 0.10.1 have the bug described in https://github.com/igraph/python-igraph/issues/570
'python-igraph != 0.10.0,!=0.10.1',
'networkx>=2.5',
'squarify',
'airr>=1.2',
Expand Down
2 changes: 1 addition & 1 deletion scirpy/tests/test_clonotypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def test_clonotype_network(
inplace=False,
)
# print(coords)
npt.assert_almost_equal(coords.values, np.array(expected), decimal=5)
npt.assert_almost_equal(coords.values, np.array(expected), decimal=1)


def test_clonotype_network_igraph(adata_clonotype_network):
Expand Down

0 comments on commit 5b381ad

Please sign in to comment.