dpeerlab / Palantir

Single cell trajectory detection
https://palantir.readthedocs.io
GNU General Public License v2.0
203 stars 45 forks source link

palantir.preprocess.log_transform(ad) error #99

Closed sailseem closed 1 year ago

sailseem commented 1 year ago

Dear developer,

I am kind of new to this, but i found palantir really helpful for my study. But when i run this function, palantir.preprocess.log_transform(ad)

i got an error NotImplementedError: adding a nonzero scalar to a sparse matrix is not supported

I know someone brought this up before, but i am not clear how to solve it. Sorry for this stupid question.

ManuSetty commented 1 year ago

We have fixed this issue in the Github repository. Please clone the repository and re-install palantir

theDierickxLab commented 1 year ago

I had the same problem before. The issue was solved via git clone and reinstallation. But I still hope "pip install" can be fixed soon! Thanks a lot!

ManuSetty commented 1 year ago

The fixes have been uploaded to Pypi and pip install also works now.