-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My Jupyter Kernel core death when running "st.pl.three_d_multi_plot" in my server in cpu mode #273
Comments
Hi, thank you for raising this issue! Spateo's 3D plotting functions are built upon the PyVista package, and there are certain specifications to consider when running PyVista on a remote server. We recommend reviewing their tutorials, particularly for remote Jupyter environments. To get started, you can try the following simple demo code and see whether pyvista works:
If everything is set up correctly, you should see an interactive panel like this: Once PyVista is properly installed on your remote server, Spateo's 3D plotting functions should work seamlessly. Here's a preview of the output with demo data from Zhang's dataset: Reference: Zhang et al., Molecularly defined and spatially resolved cell atlas of the whole mouse brain. |
Thank you for the solutions! I have installed all the required package. But when I run the demo code of pyvista. I met the error, "2024-10-09 16:03:45.279 ( 10.927s) [ 146CA0600400]vtkXOpenGLRenderWindow.:456 ERR| vtkXOpenGLRenderWindow (0x55b2d01b96a0): bad X server connection. DISPLAY=:99. Aborting. ERROR:root:bad X server connection. DISPLAY=:99. Aborting." Is there any experience can share to me? I have be tested almost all the way I know. But I was still not successful... |
Hi, I encountered the same error when I commented out the following line: Another potential cause might be dependency errors related to libraries in the VTK package. Here's an error I encountered: This problem can be addressed by running the following command, as suggested in this discussion: I recommend trying the |
Thank you for the suggestions, Now, I run the code successfully, and got the output: It seems that I need to set the localhost port. ' Another question is about (https://spateo-release.readthedocs.io/en/latest/tutorials/notebooks/7_morphogenesis/1_models_alignment.html) my alignment adata did not contain "latter_models_align", I want to known: which fucntion can generate the. "adata.uns["latter_models_align"]" my adata is like this: |
Hi, I'm not entirely sure what "latter_models_align" refers to, but based on the code, it seems like it should be a dictionary containing the spatial coordinates of the source and target cells. To proceed, I recommend trying the following code:
Here, mapping is obtained from Spateo’s alignment results. For example:
Next, you can visualize the alignment results, with lines connecting the corresponding cells:
|
Thank you very much! |
I was running the st.pl.three_d_multi_plot in computational node of the server, and the kernel is dead. I want to know if the function can be used in server or in Server kernel
when qsub the task, I got the error:
The text was updated successfully, but these errors were encountered: