From 7fd92764f0deece6d843e7ac3b7bf23ba19c8805 Mon Sep 17 00:00:00 2001 From: Jan Patrick Pett Date: Sun, 10 Mar 2024 15:56:38 +0000 Subject: [PATCH] fix FutureWarning --- snp2cell/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snp2cell/cli.py b/snp2cell/cli.py index 1e0c735..f60f1c7 100644 --- a/snp2cell/cli.py +++ b/snp2cell/cli.py @@ -296,7 +296,7 @@ def score_de( """ # load anndata log.info(f"load anndata from {Path(anndata).resolve()}") - ad = sc.read(anndata) + ad = sc.read_h5ad(anndata) if use_raw: log.info("load from `ad.raw` attribute") ad = ad.raw.to_adata()