Skip to content

Commit

Permalink
fix FutureWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
JPatrickPett committed Mar 10, 2024
1 parent 3a829e0 commit 7fd9276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snp2cell/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 7fd9276

Please sign in to comment.