BlueBrain / morph-tool

https://morph-tool.readthedocs.org/
GNU Lesser General Public License v3.0
8 stars 7 forks source link

allow for neurite_type in neuron to neurom section id conversion #94

Open arnaudon opened 2 years ago

arnaudon commented 2 years ago

Context

The mapping of section ids between neurom and neuron is very useful but does not currently handles neuron section lists.

Resolution

This PR handles it.

arnaudon commented 2 years ago

Ah sorry, I ran black on it. Not my fault, it's a reflex to format my code on the fly... If you want I can blackify the whole code in another PR :)

arnaudon commented 2 years ago

Yes, this piece of code is quite messy and only partially tested. I didn't want to touch it much, but if you'd like, I can try to improve it more. It may become quite useful to properly map our morpho tools with NEURON.