Skip to content

Commit bba278c

Browse files
committed
feat: add note about neurolex id requirements for correct NEURON mapping
This needs to be documented and our tools improved. See: NeuroML/NeuroML2#168
1 parent 566ee68 commit bba278c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/Userdocs/NML2_examples/olm-example.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,8 @@ def create_olm_cell():
186186
fraction_along=1,
187187
group="dend_1")
188188

189+
# XXX: For segment groups to be correctly mapped to sections in NEURON,
190+
# they must include the correct neurolex ID
189191
for section_name in ["soma_0", "axon_0", "dend_0", "dend_1"]:
190192
section_group = get_seg_group_by_id(section_name, cell)
191193
section_group.neuro_lex_id = 'sao864921383'

0 commit comments

Comments
 (0)