File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 50
50
//"install_timeout": 600,
51
51
52
52
// the base URL to show a commit for the project.
53
- "show_commit_url" : " https://github.com/squidpy/scanpy /commit/" ,
53
+ "show_commit_url" : " https://github.com/scverse/squidpy /commit/" ,
54
54
55
55
// The Pythons you'd like to test against. If not provided, defaults
56
56
// to the current version of Python used to run `asv`.
74
74
"numpy" : [" " ],
75
75
"scipy" : [" " ],
76
76
"squidpy" : [" " ],
77
- "scanpy" : [" " ],
78
77
},
79
78
80
79
// Combinations of libraries/python versions can be excluded/included
Original file line number Diff line number Diff line change 6
6
7
7
import numpy as np
8
8
from asv_runner .benchmarks .mark import skip_for_params
9
- from scanpy . _compat import CSCBase , CSRBase
9
+ from scipy . sparse import csc_matrix , csr_matrix
10
10
11
11
import squidpy as sq
12
12
@@ -39,8 +39,8 @@ def imc() -> AnnData:
39
39
return _imc ().copy ()
40
40
41
41
42
- def to_off_axis (x : np .ndarray | CSRBase ) -> np .ndarray | CSCBase :
43
- if isinstance (x , CSRBase ):
42
+ def to_off_axis (x : np .ndarray | csr_matrix | csc_matrix ) -> np .ndarray | csc_matrix :
43
+ if isinstance (x , csr_matrix ):
44
44
return x .tocsc ()
45
45
if isinstance (x , np .ndarray ):
46
46
assert not np .isfortran (x )
You can’t perform that action at this time.
0 commit comments