-
Notifications
You must be signed in to change notification settings - Fork 11
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
Unable to fetch data from Platynereis Dataset #218
Comments
Hi! Unless otherwise specified, I should probably make this easier in So in order to connect to your full body Platynereis Dumerili, you would need to connect like this: import pymaid
rm = pymaid.CatmaidInstance(
server="https://catmaid.jekelylab.ex.ac.uk/#",
api_token=None,
http_user=None,
http_password=None,
project_id=11
) |
Small addendum: you can connect to a server and then figure out the project ID >>> rm = pymaid.CatmaidInstance(
server="https://catmaid.jekelylab.ex.ac.uk/#",
api_token=None,
http_user=None,
http_password=None
)
>>> # Look at available projects
>>> rm.available_projects
comment id stackgroups stacks title
0 11 [] [{'comment': '3-day-old larva of Platynereis d... HT-4_Naomi_project
5 18 [] [{'comment': '3-day-old larva of Platynereis d... Plexus_HT-4_Naomi_project__372-4013
1 19 [] [{'comment': '3-day-old larva of Platynereis d... Immuno_HT-4_Naomi_project
4 22 [] [{'comment': '3-day-old larva of Platynereis d... Jump_864_HT-4_Naomi_project__853-873
3 23 [] [{'comment': '3-day-old larva of Platynereis d... Jump_3725_HT-4_Naomi_project__3719-3728
2 24 [] [{'comment': '3-day-old larva of Platynereis d... Jump_2800_HT-4_Naomi_project__2762-2818
>>> # Set project ID
>>> rm.project_id = 11 |
@schlegelp it works now! Thanks for the help. Do you think some documentation changes to make finding the project ids easier would be beneficial? I would love to help with this. |
Sure, PRs are always welcome. |
@schlegelp thanks for the info, this was super helpful for me and @kareef928! |
Hey @schlegelp, I am having trouble pulling data from the Platynereis Dumerilii Larva Dataset.
Code I'm trying to run
Output
I believe these queries should work because from the catmaid webviewer, I can see that annotation exists. The same 500 server error occurs for when I try to run
pymaid.get_skids_by_name("PRCal1")
andpymaid.find_neurons(annotations="Bezares-Calderon_et_al_2018")
. Any suggestions for how to fix this? I believe something is happening with the server url but not sure if I am just using pymaid wrong.Thanks!
The text was updated successfully, but these errors were encountered: