Closed zvittorio closed 1 year ago
I'm assuming you are running v0.8 (from pip install
). There's an issue with the progress bar computations in v0.8. Simplest workaround is to run the computation w/o a progress bar.
We are working on v0.9 - the head version is our pre-release. However as described in the README of the project, v0.9 has breaking changes compared to v0.8, and while the head version seems to be working, it is still in testing. YMMV and all that.
Yes I am running v0.8 from pip install
, and just removing the progress bar from the code solved the problem.
Thank you for the clarification, and looking forward to stable v0.9!
Vittorio
Dear metacells team,
First of all thank you for bringing metacell to python! I am trying to run the tool on a rather small dataset just to test it out. The anndata object that I import has already undergone quality control and cell type annotation. So I did not perform any further cleaning of either cells of genes. I followed the tutorial in here, producing the "full" anndata object and then "clean". "Clean" looks like this before running mc.pl.divide_and_conquer_pipeline
Then, I run divide_and_conquer_pipeline in this way:
as outlined in the tutorial. But I get an AttributeError with no message at all, after the computation of metacells runs up until 53% of the process.
Without providing any direction on how to solve the problem. Thank you if you can provide any help,
Vittorio
UPDATE: I must have payed closer attention. The last traceback clearly shows that the problem has something to do with the progress bar. When I removed the with statement for the progress bar, the function runs to completion and prints all the metacells metrics in adata.var Still, it is weird that the progress bar function from the tutorial breaks. I will leave it up to the developing team then :)
Session information: