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

get_volume uses mesh IDs, not volume IDs #233

Open
clbarnes opened this issue May 5, 2023 · 0 comments
Open

get_volume uses mesh IDs, not volume IDs #233

clbarnes opened this issue May 5, 2023 · 0 comments

Comments

@clbarnes
Copy link
Collaborator

clbarnes commented May 5, 2023

Volumes are semantic objects (i.e. can be annotated); meshes are spatial objects which model volumes. This is the same as the relationship between (semantic) neurons and (spatial) skeletons. Using skeleton IDs for neurons is pretty common in pymaid (and indeed CATMAID); the semantic object ID is more of an implementation detail. get_entity_graph does explicitly distinguish between neurons and skeletons, but not between volumes and meshes: this is partially because the CATMAID backend get_annotated_entities function returns skeletons modelling neurons, but not meshes modelling volumes.

This is probably not much of a problem in daily usage and may be a can of worms to unpick, but I came across it so thought I'd note it in case anyone else did.

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