-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I had this issue where I assumed connections.get_node_attribute(connections.get_uids_from_bodyids(body_ids), "name") would return the names for each body_id, but because get_uids_from_bodyids doesn't preserve order this isn't guaranteed to be true.
In the same way, connections.get_uids_from_bodyids(connections.get_uids_from_bodyids(uids)) != uids.
I guess this makes sense because there isn't necessarily a 1:1 correspondance between body_ids and uids if some neurons are split. Maybe this could preserve order as long as there aren't any split or merged neurons though? Or we could add a function to get the attributes for a list of neuron body_ids? I'm not sure exactly what the best option would be
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working