-
Notifications
You must be signed in to change notification settings - Fork 7
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
Import neurons using Codex? #191
Comments
I'm happy to see what I can get to work. But I haven't been able to find the "Copy view URL to clipboard" button. I tried going to flywire.ai, pressing "Explore the Connectome in Codex", enter "MBON" in the "search cells and annotations" box, and then looking through the results page, e.g., https://codex.flywire.ai/app/search?filter_string=MBON . Would you be able to give a few more instructions, and post a screen shot with that button circled? Thanks. |
Dear Philip, Thanks for the quick response. That button or a similar button is exactly what I was looking for to use your workflow (as in your YouTube videos and documentation of neuVID: point 4 of usage with neuPrint) for flywire data. Basically, when you click 3D viewer on one of the neurons of your link you can access the source and ID of the neurons (ctrl + left click on “cell” in top left corner). In the documentation, I found one section that uses the flywire data: “Example: Create two groups,
However, whenever I run the script, the neurons can not be found. I therefore downloaded all neurons swc files from flywire and tried to use these instead for mesh import with the code provided in the documentation:
I get the following error: Hope you can help me with this. Cheers Sander |
Ah, I thought you were saying there was already a "Copy view URL to clipboard" button on the FlyWire Codex UI that I could not find. If, instead, you want to know how you can import from Codex into neuVid as if there were such a button, take a look at these instructions (which I just updated a bit): The key first step is to find the Working with FlyWire Codex requires a few more steps not required with neuPrint, due to the way Codex stores its meshes, but I think my instructions are thorough. |
Dear Philip, Thanks for the updated documentation. I sticked exactly to the description, however, I am getting dependecy problems:
(neuVid-NG) C:\Users\Sander>python D:/neuVid/neuVid/fetchMeshes.py -i ex4.json A module that was compiled using NumPy 1.x cannot be run in If you are a user of the module, the easiest solution will be to Traceback (most recent call last): File "D:\neuVid\neuVid\fetchMeshes.py", line 309, in Conda list shows me that both meshparty and open3d are installed. Could you specify which version of DracoPy and Numpy you are using? Running: gives a similar error: ImportError Traceback (most recent call last) File ~\anaconda3\envs\neuVid-NG\lib\site-packages\meshparty\trimesh_io.py:32 File src\DracoPy.pyx:1, in init DracoPy() ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use 'numpy._import_array' to disable if you are certain you don't need it). Do you have any idea how to fix this? :) Thanks for your support |
Hmm. I am not sure it is exactly the same problem, but today I did notice that the latest versions of MeshParty and Open3d no longer worked for me when importing from FlyWire. I did find (and updated the documentation to indicate) that if I forced the versions to be somewhat older then importing from FlyWire started working again. Can you try something like the following?
|
First of all, thanks for this awesome tool. The way of importing neurons from neuPRINT is super straight forward. I was wondering if there is a similar method using the “Copy view URL to clipboard” button in codex, which does not exist in codex NGL. So far I tried several combinations for importMeshes.py, e.g.:
{
"neurons": {
"source": "precomputed://gs://flywire_v141_m783",
"neuron": [NEURONID]
},
With neuron ID being a random cell ID. However, I am always getting an error that the OBJ file for this neuron can not be found. I also tried putting it into ‘ ” ’. Do I need to download the swc files for the neurons instead and convert them to OBJs? If so, do you know of any pipeline to get the swc files for these neurons?
Best wishes,
Sander
The text was updated successfully, but these errors were encountered: