Closed lzygenomics closed 1 year ago
Hi! Did you get this error while running it in a notebook cell or as a python script?
@lzygenomics looks like a tqdm issue to me. Could also be related to you running your code on a Windows machine.
@WeilerP I have similar errors raised by tqdm when trying to run my code as a python script on UNIX terminal. I suspect it is caused by the progress bar that cannot be shown. Could there be an option to toggle between showing this progress bar or not? (I know that this parameter exists in the internal methods, but it is not accessible in functions such as recover_dynamics)
@WeilerP Wow, thank you for your quick response! Yes, I run scvelo on the Windows machine, and I also try to run it on Linux, and this step return another bug: ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (4,) + inhomogeneous part.
Hi! Did you get this error while running it in a notebook cell or as a python script?
Yes~I run it both on interactive model and as the whole python script model, both returns same error
@WeilerP Wow, thank you for your quick response! Yes, I run scvelo on the Windows machine, and I also try to run it on Linux, and this step return another bug: ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (4,) + inhomogeneous part.
I find that the new bug on linux has been reported before~I follow your suggestion and now scvelo works! : ) Thank you! (Maybe the original bug is indeed due to the tqdm on Windows)
I downgrade the numpy to 1.23.5, and use Spyder instead of vscode in windows, the bug has been fixed, Thank you!
when I run scv.tl.recover_dynamics(adata), it return the bug, Could you please help me? Thank you!