File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,13 +35,6 @@ def test_adata_no_raw(self, adata: AnnData):
3535 with pytest .raises (AttributeError , match = r"No `.raw` attribute" ):
3636 ligrec (adata , _CK , use_raw = True )
3737
38- def test_raw_has_different_n_obs (self , adata : AnnData ):
39- adata .raw = blobs (n_observations = adata .n_obs + 1 )
40- # raise below happend with anndata < 0.9
41- # with pytest.raises(ValueError, match=rf"Expected `{adata.n_obs}` cells in `.raw`"):
42- with pytest .raises (ValueError , match = rf"Index length mismatch: { adata .n_obs } vs. { adata .n_obs + 1 } " ):
43- ligrec (adata , _CK )
44-
4538 def test_invalid_cluster_key (self , adata : AnnData , interactions : Interactions_t ):
4639 with pytest .raises (KeyError , match = r"Cluster key `foobar` not found" ):
4740 ligrec (adata , cluster_key = "foobar" , interactions = interactions )
You can’t perform that action at this time.
0 commit comments