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

More descriptive error for non-existing skid when adding annotations #160

Open
mmc46 opened this issue Jun 24, 2020 · 0 comments
Open

More descriptive error for non-existing skid when adding annotations #160

mmc46 opened this issue Jun 24, 2020 · 0 comments

Comments

@mmc46
Copy link
Contributor

mmc46 commented Jun 24, 2020

When using catmaid_set_annotations_for_skeletons can the error be improved when skids don't exist?

Currently

catmaid_set_annotations_for_skeletons(11111111, annotations = "MC_test")
Error in catmaid_fetch(path, body = post_data, include_headers = F, simplifyVector = T,  : 
  Internal Server Error (HTTP 500).

For removing annotations, the error is better

catmaid_remove_annotations_for_skeletons(11111111, annotations = "MC_test")
Error in catmaid_remove_annotations_for_skeletons(11111111, annotations = "MC_test") : 
  No entity ids founds from skids!
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

No branches or pull requests

1 participant