Hey @schlegelp, I am having trouble pulling data from the Platynereis Dumerilii Larva Dataset.
Code I'm trying to run
import pymaid
rm = pymaid.CatmaidInstance(
server="https://catmaid.jekelylab.ex.ac.uk/#",
api_token=None,
http_user=None,
http_password=None,
)
skids = pymaid.get_skids_by_annotation(annotations="Bezares-Calderon_et_al_2018")
Output
INFO : Global CATMAID instance set. Caching is ON. (pymaid)
Traceback (most recent call last):
File "/Users/kareefullah/Desktop/NeuroData/neurodata/platy-data/scripts/get_platy_data.py", line 12, in <module>
skids = pymaid.get_skids_by_annotation("Bezares-Calderon_et_al_2018")
File "/Users/kareefullah/Library/Caches/pypoetry/virtualenvs/platy-data-EVeqgmAk-py3.9/lib/python3.9/site-packages/pymaid/cache.py", line 316, in wrapper
res = function(*args, **kwargs)
File "/Users/kareefullah/Library/Caches/pypoetry/virtualenvs/platy-data-EVeqgmAk-py3.9/lib/python3.9/site-packages/pymaid/fetch.py", line 2328, in get_skids_by_annotation
pos_ids = get_annotation_id(pos_an,
File "/Users/kareefullah/Library/Caches/pypoetry/virtualenvs/platy-data-EVeqgmAk-py3.9/lib/python3.9/site-packages/pymaid/cache.py", line 200, in wrapper
res = undo_on_error(function)(*args, **kwargs)
File "/Users/kareefullah/Library/Caches/pypoetry/virtualenvs/platy-data-EVeqgmAk-py3.9/lib/python3.9/site-packages/pymaid/cache.py", line 316, in wrapper
res = function(*args, **kwargs)
File "/Users/kareefullah/Library/Caches/pypoetry/virtualenvs/platy-data-EVeqgmAk-py3.9/lib/python3.9/site-packages/pymaid/fetch.py", line 1925, in get_annotation_id
an_list = remote_instance.fetch(remote_annotation_list_url)
File "/Users/kareefullah/Library/Caches/pypoetry/virtualenvs/platy-data-EVeqgmAk-py3.9/lib/python3.9/site-packages/pymaid/client.py", line 473, in fetch
raise HTTPError('{} errors encountered: {}'.format(len(errors),
requests.exceptions.HTTPError: 1 errors encountered: 500 Server Error: Project matching query does not exist. for url: https://catmaid.jekelylab.ex.ac.uk/1/annotations/
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") and pymaid.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!
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!