aristoteleo / dynamo-release

Inclusive model of expression dynamics with conventional or metabolic labeling based scRNA-seq / multiomics, vector field reconstruction and differential geometry analyses
https://dynamo-release.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
413 stars 57 forks source link

Can't get dyn.tl.dynamics(adata) to work #694

Open wodigraf opened 1 month ago

wodigraf commented 1 month ago

If this is a question and not a bug report or enhancement request, please post to our Github Discussions channel at https://github.com/aristoteleo/dynamo-release/discussions

Describe the bug I am trying out dynamo for the first time and I am following the 10 minutes to dynamo tutorial. I first tried running the code on a virtual machine with Ubuntu 24. When running the line of code dyn.tl.dynamics(adata), I get this message "[moments calculation] completed [141.7195s]" and then after about 2 minutes my Jupyter closes. When I tried running the code on a terminal, a similar thing happened, but this time instead of the terminal closing like the Jupyter, it just stops and gives the message "killed". Here is my session info:

Screenshot 2024-07-17 070801

Does this have to do with the amount of memory of my machine? What would be the minimum requirements to run dynamo?

I then tried doing the tutorial on another machine, this time with windows 11. I got stuck on the same line of code, but this time I got this error:

Screenshot 2024-07-17 064819

This is my session_info on the windows machine:

Screenshot 2024-07-17 071522

Have I installed something wrong? Am I missing something?

To Reproduce The code that produced the bug:

dyn.tl.dynamics(adata)
Sichao25 commented 1 month ago

Hi, thanks for raising those issues. The AttributeError is a bug caused by a conflicting version of SciPy. We have fixed this in the GitHub repository, but it is not yet included in the released version. You can downgrade to an earlier version of SciPy to resolve this issue. Based on the information provided, it is difficult to determine if the Jupyter session ends due to memory issues or another reason. You can try subsetting the dataset to test the functionality first. Let me know if those suggestions help.