Skip to content

Commit

Permalink
🎨 Fix soma tests
Browse files Browse the repository at this point in the history
Signed-off-by: zethson <[email protected]>
  • Loading branch information
Zethson committed Dec 9, 2024
1 parent 9dc8cdc commit 1c7495b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/core/test_curator.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import shutil
from pathlib import Path
from unittest.mock import Mock

import anndata as ad
Expand Down Expand Up @@ -569,6 +570,9 @@ def test_soma_curator(adata, categoricals):


def test_soma_curator_genes_columns(adata):
if Path("curate.tiledbsoma").exists():
shutil.rmtree("curate.tiledbsoma")

adata.obs = pd.DataFrame(adata.X[:, :3], columns=adata.var_names[:3])
tiledbsoma.io.from_anndata("curate.tiledbsoma", adata, measurement_name="RNA")

Expand Down

0 comments on commit 1c7495b

Please sign in to comment.