Skip to content

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

@mmc46

Description

@mmc46

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions