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
443 stars 182 forks source link

[BUG] pyscenic grn and type error #567

Open tutu256 opened 2 months ago

tutu256 commented 2 months ago

hi. I try to run through the pySCENIC protocol: PBMC10k on my windows 10 . when i run the SCENIC steps 1, error happened. this is my code. !pyscenic grn E:/python/pbmc10k_filtered_scenic.loom D:/scenic/input/allTFs_hg38.txt -o adj.csv --num_workers 20 errors: Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "d:\anaconda3\Scripts\pyscenic.exe__main.py", line 4, in File "d:\anaconda3\Lib\site-packages\pyscenic\cli\pyscenic.py", line 19, in from arboreto.algo import genie3, grnboost2 File "d:\anaconda3\Lib\site-packages\arboreto\algo.py", line 7, in from arboreto.core import create_graph, SGBM_KWARGS, RF_KWARGS, EARLY_STOP_WINDOW_LENGTH File "d:\anaconda3\Lib\site-packages\arboreto\core.py", line 12, in from dask.dataframe import from_delayed File "d:\anaconda3\Lib\site-packages\dask\dataframe__init__.py", line 6, in from dask.dataframe import backends, dispatch, rolling File "d:\anaconda3\Lib\site-packages\dask\dataframe\backends.py", line 15, in from dask.dataframe.core import DataFrame, Index, Scalar, Series, _Frame File "d:\anaconda3\Lib\site-packages\dask\dataframe\core.py", line 36, in from dask.dataframe import methods File "d:\anaconda3\Lib\site-packages\dask\dataframe\methods.py", line 34, in from dask.dataframe.utils import is_dataframe_like, is_index_like, is_series_like File "d:\anaconda3\Lib\site-packages\dask\dataframe\utils.py", line 20, in from dask.dataframe import ( # noqa: F401 register pandas extension types File "d:\anaconda3\Lib\site-packages\dask\dataframe_dtypes.py", line 9, in from dask.dataframe.extensions import make_array_nonempty, make_scalar File "d:\anaconda3\Lib\site-packages\dask\dataframe\extensions.py", line 8, in from dask.dataframe.accessor import ( File "d:\anaconda3\Lib\site-packages\dask\dataframe\accessor.py", line 126, in class DatetimeAccessor(Accessor): File "d:\anaconda3\Lib\site-packages\dask\dataframe\accessor.py", line 81, in __init_subclass _bind_property(cls, pd_cls, attr, min_version) File "d:\anaconda3\Lib\site-packages\dask\dataframe\accessor.py", line 35, in _bind_property setattr(cls, attr, property(derived_from(pd_cls, version=min_version)(func))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "d:\anaconda3\Lib\site-packages\dask\utils.py", line 856, in wrapper method.doc = _derived_from( ^^^^^^^^^^^^^^ File "d:\anaconda3\Lib\site-packages\dask\utils.py", line 809, in _derived_from method_args = get_named_args(method) ^^^^^^^^^^^^^^^^^^^^^^ File "d:\anaconda3\Lib\site-packages\dask\utils.py", line 570, in get_named_args s = inspect.signature(func) ^^^^^^^^^^^^^^^^^^^^^^^ File "d:\anaconda3\Lib\inspect.py", line 3263, in signature return Signature.from_callable(obj, follow_wrapped=follow_wrapped, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "d:\anaconda3\Lib\inspect.py", line 3011, in from_callable return _signature_from_callable(obj, sigcls=cls, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "d:\anaconda3\Lib\inspect.py", line 2599, in _signature_from_callable call = _descriptor_get(call, obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "d:\anaconda3\Lib\inspect.py", line 2432, in _descriptor_get return get(descriptor, obj, type(obj)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: descriptor 'call' for 'type' objects doesn't apply to a 'property' object.

how to fix it?

123zelia commented 2 months ago

Hi, I am also having the same issue. Have you resolved it?