Teichlab / celltypist

A tool for semi-automatic cell type classification
https://www.celltypist.org/
MIT License
260 stars 40 forks source link

type error when the input is Anndata #65

Closed jjxia955 closed 10 months ago

jjxia955 commented 1 year ago

See attached photos image

image

my adata is like this image

Thanks for help!

ChuanXu1 commented 1 year ago

@jjxia955, can you show the full traceback error?

jjxia955 commented 1 year ago

image image Here you go!

ChuanXu1 commented 1 year ago

@jjxia955, installing a new version of CellTypist will solve this. This is a problem in the old version,

hanjun98 commented 1 year ago

Hi, I recently downloaded it from bioconda, but I got this error, so I re-downloaded it from pip and ran it, but the same error comes up. What should I do?

ChuanXu1 commented 1 year ago

@hanjun98, could you confirm your version by celltypist.__version__ and your installed numpy version with pip show numpy from a terminal?

hanjun98 commented 1 year ago

yeap! I cofirmed my version, so I knew my celltypist version is 0.1.9 but I want to update celltypist to latest version, requirements pkg, 'annoy' have so many collision with pkgs in my conda env. Do you know how long I have to wait for this? Or any way to install?

ChuanXu1 commented 11 months ago

@hanjun98, sorry for late reply. The new version (1.6.0) has no dependency on annoy any more.

ChuanXu1 commented 10 months ago

This should be solved. Please reopen it if you have further questions.