aertslab / pySCENIC

pySCENIC is a lightning-fast python implementation of the SCENIC pipeline (Single-Cell rEgulatory Network Inference and Clustering) which enables biologists to infer transcription factors, gene regulatory networks and cell types from single-cell RNA-seq data.
http://scenic.aertslab.org
GNU General Public License v3.0
400 stars 176 forks source link

AttributeError: module 'scanpy' has no attribute 'utils' #458

Open yanwuanxin opened 1 year ago

yanwuanxin commented 1 year ago

when run sc.utils.sanitize_anndata(adata), it returns: AttributeError: module 'scanpy' has no attribute 'utils'

I didn't find any information about sanitize_anndata under the path of scanpy, does anyone encounter a similar error? the version of scanpy which i use is 1.8.2

yanwuanxin commented 1 year ago

sc._utils.sanitize_anndata(adata) will work