From 37f97c3a7d589a26162a4a4de6ad985eaa8017dd Mon Sep 17 00:00:00 2001 From: Mark Keller <7525285+keller-mark@users.noreply.github.com> Date: Sat, 7 Sep 2024 15:18:56 -0400 Subject: [PATCH] Update --- tests/test_wrappers.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/tests/test_wrappers.py b/tests/test_wrappers.py index f435ef6..3c123fe 100644 --- a/tests/test_wrappers.py +++ b/tests/test_wrappers.py @@ -239,23 +239,6 @@ def test_anndata_with_base_dir(self): 'obsSets': [{'path': 'obs/CellType', 'name': 'Cell Type'}] }}) - def test_anndata(self): - adata_path = data_path / 'test.h5ad.zarr' - w = AnnDataWrapper(adata_path, - obs_set_paths=['obs/CellType'], obs_set_names=['Cell Type'], - obs_labels_names=['Cell Label'], obs_labels_paths=['obs/CellLabel'], - obs_embedding_paths=['obsm/X_umap'], obs_embedding_names=['UMAP']) - w.local_dir_uid = 'anndata.zarr' - - file_def_creator = w.make_file_def_creator('A', 0) - file_def = file_def_creator('http://localhost:8000') - self.assertEqual(file_def, {'fileType': 'anndata.zarr', 'url': 'http://localhost:8000/A/0/anndata.zarr', - 'options': { - 'obsEmbedding': [{'path': 'obsm/X_umap', 'embeddingType': 'UMAP', 'dims': [0, 1]}], - 'obsSets': [{'path': 'obs/CellType', 'name': 'Cell Type'}], - 'obsLabels': [{'path': 'obs/CellLabel', 'obsLabelsType': 'Cell Label'}] - }}) - def test_anndata_with_h5ad_and_ref_json(self): adata_path = data_path / 'test.h5ad' ref_json_path = data_path / 'test.h5ad.ref.json'