Skip to content

Commit 514e71f

Browse files
committed
Remove lupus import test
1 parent 2792257 commit 514e71f

5 files changed

Lines changed: 7 additions & 333 deletions

File tree

RISE/imports.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ def import_lupus(geneThreshold: float = 0.1) -> anndata.AnnData:
5959
'SLE_status': SLE status: healthy or SLE}
6060
6161
"""
62-
X = anndata.read_h5ad("/opt/andrew/lupus/lupus.h5ad")
63-
X = anndata.AnnData(X.raw.X, X.obs, X.raw.var, X.uns, X.obsm)
62+
X = anndata.read_h5ad("/opt/andrew/lupus/raw_lupus.h5ad", backed="r")
6463

6564
protein = anndata.read_h5ad("/opt/andrew/lupus/Lupus_study_protein_adjusted.h5ad")
6665
protein_df = protein.to_df()

RISE/tests/test_import.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@
66
import pytest
77

88
from ..imports import (
9-
import_lupus,
109
import_thomson,
1110
)
1211

1312

1413
@pytest.mark.parametrize(
1514
"import_func",
16-
[import_thomson, import_lupus],
15+
[
16+
import_thomson,
17+
],
1718
)
1819
def test_imports(import_func):
1920
"""Test import functions."""

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ dependencies = [
2222
"pacmap>=0.7.1",
2323
"tqdm>=4.66.1",
2424
"tlviz>=0.1.1",
25-
"doubletdetection >=4.2",
25+
"doubletdetection>=4.3",
2626
"statsmodels>=0.14.1",
2727
"dask[dataframe]>=2024.3.1",
2828
"ortools>=9.12.4544",
@@ -48,7 +48,6 @@ dev-dependencies = [
4848
"scanorama>=1.7.4",
4949
"harmonypy>=0.0.10",
5050
"scib>=1.1.5",
51-
"scvi-tools>=1.2.1",
5251
]
5352

5453

0 commit comments

Comments
 (0)