From 5554d796fcd65d5e9537497b4add6c377fe370a3 Mon Sep 17 00:00:00 2001 From: Starlitnightly Date: Mon, 17 Jun 2024 13:48:59 +0800 Subject: [PATCH] fix an error in `ov.pp.anndata_to_CPU` #93 --- omicverse/pp/_preprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omicverse/pp/_preprocess.py b/omicverse/pp/_preprocess.py index f11e5d1e..e2f6c63b 100644 --- a/omicverse/pp/_preprocess.py +++ b/omicverse/pp/_preprocess.py @@ -348,7 +348,7 @@ def anndata_to_GPU(adata,**kwargs): def anndata_to_CPU(adata,layer=None, convert_all=True, copy=False): import rapids_singlecell as rsc - rsc.get.anndata_to_CPU(adata,layers=layer, convert_all=convert_all, copy=copy) + rsc.get.anndata_to_CPU(adata,layer=layer, convert_all=convert_all, copy=copy) def preprocess(adata, mode='shiftlog|pearson', target_sum=50*1e4, n_HVGs=2000,