Closed thuthao closed 2 years ago
Hi @thuthao , looks like the wrong method for computing Schur decomposition is being used, which is strange, since you don't pass method=...
and the default is krylov
.
Could you try running the code below instead?
cr.tl.terminal_states(adata, cluster_key="clusters", weight_connectivities=0.2,
fit_kwargs={'method': 'krylov'})
Also, please consider using the kernels/estimators interface, since this API is deprecated as mentioned in this tutorial: https://cellrank.readthedocs.io/en/stable/kernels_and_estimators.html
Hi @thuthao, any updates on this yet?
Hi @Marius1311, Thanks for following up with this question. Fortunately, everything works now. In conclusion, the improper installation of the package was the cause of this error. I had more than 5k cells and intended to use the krylov version of cellrank but 'conda install -c conda-forge -c bioconda cellrank-krylov' did not work with some errors about incompatible version. So, what I did was using 'conda install -c conda-forge -c bioconda cellrank' and installed the dependencies. However, after I installed the dependencies, the numpy package was not compatible anymore (1.21 and less). The only thing I did was uninstall and reinstall the proper package of numpy and it fixed all the errors.
Great, happy that this worked and thanks for updating us!
Hi, I was following the instructions from Cell Rank Basic Tutorials. When I tried to calculate the terminal states
I got an error message and am not sure how to fix this.
Thank you for your help. Thao