Open jasonleongbio opened 5 months ago
hard to say what could cause that, there are a lot of changes between the two envs.
but we might be able to pin it down with that, thank you!
@flying-sheep Thank you so much for your reply! Indeed quite a lot of packages are different between the two environments. I'm sorry for making this complicated.
The env on my desktop (where the scrublet
function stopped) is actually newer and at first I thought that would not create huge problems (I recently switched to mamba instead of conda on my Intel-core desktop.
I didn't use the yml from my M2-chip laptop to re-create the environment because of some dependency problems between the Intel/M2 computers).
I'm sorry for making this complicated.
Not at all, giving us environment files to work with is a big improvement over e.g. typing “scanpy 1.9” into the “versions” box haha!
The env on my desktop (where the scrublet function stopped) is actually newer
yeah, I saw that, all around newer versions of things, which makes this issue especially interesting.
Please make sure these conditions are met
What happened?
Dear
scanpy
developers,I was exploring the new features in the latest version of Scanpy, but encountered a prolonged pause when running the
sc.pp.scrublet(adata)
.Initially I thought the problem was due to the large size (~100k cells) of the dataset I was exploring (I let it run for almost a whole week and nothing changed). However, even if I switched to my own dataset (unpublished, around 5k celIs), it paused at the same step.
I was running this analysis on my Intel-core iMac. Surprisingly, when I ran the same line of code (under a similar virtual environment) on my M2-chip laptop, it finished in a flash of time.
I'm still not sure what actually caused the problem, but it seems that some dependency inconsistency occurred when performing PCA within the pipeline. Perhaps some package required for the
sc.pp.scrublet()
pipeline needs to be updated to a newer version?Here are the details of the packages in the virtual environment when I ran the code on my desktop (failed case):
The virtual environment on my laptop (successful case):
Minimal code sample
Error output
No response
Versions