Skip to content
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

Fix response parsing #252

Merged
merged 2 commits into from
Mar 19, 2025
Merged

Fix response parsing #252

merged 2 commits into from
Mar 19, 2025

Conversation

schlegelp
Copy link
Collaborator

@schlegelp schlegelp commented Mar 19, 2025

This PR fixes #251 by looking for either aaData (pre v2021.12.21) or just data (post v2021.12.21) in responses from the CATMAID server.

Affected functions: get_user_annotations, get_annotation_details, get_logs and get_volume. The latter two were modified to play it safe - I don't actually know if there was an issue.

@schlegelp
Copy link
Collaborator Author

Some tests are failing but they appear unrelated to the changes here.

@schlegelp schlegelp merged commit 5327a3b into master Mar 19, 2025
0 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Key Error: In get_user_annotations()
1 participant