Skip to content

Commit bc67521

Browse files
committed
Adding "standard" NeuroML group names
1 parent 427de74 commit bc67521

File tree

5 files changed

+44
-0
lines changed

5 files changed

+44
-0
lines changed

NMC/NeuroML2/cADpyr229_L23_PC_5ecbf9b163_0_0.cell.nml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7038,6 +7038,16 @@ For more information on this cell model see: https://bbp.epfl.ch/nmc-portal/micr
70387038
<segmentGroup id="somatic">
70397039
<include segmentGroup="soma_0"/>
70407040
</segmentGroup>
7041+
<segmentGroup id="soma_group">
7042+
<include segmentGroup="somatic"/>
7043+
</segmentGroup>
7044+
<segmentGroup id="axon_group">
7045+
<include segmentGroup="axonal"/>
7046+
</segmentGroup>
7047+
<segmentGroup id="dendrite_group">
7048+
<include segmentGroup="basal"/>
7049+
<include segmentGroup="apical"/>
7050+
</segmentGroup>
70417051
</morphology>
70427052
<biophysicalProperties id="biophys">
70437053
<membraneProperties>

NMC/NeuroML2/cADpyr232_L5_TTPC1_0fb1ca4724_0_0.cell.nml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43132,6 +43132,16 @@ For more information on this cell model see: https://bbp.epfl.ch/nmc-portal/micr
4313243132
<segmentGroup id="somatic">
4313343133
<include segmentGroup="soma_0"/>
4313443134
</segmentGroup>
43135+
<segmentGroup id="soma_group">
43136+
<include segmentGroup="somatic"/>
43137+
</segmentGroup>
43138+
<segmentGroup id="axon_group">
43139+
<include segmentGroup="axonal"/>
43140+
</segmentGroup>
43141+
<segmentGroup id="dendrite_group">
43142+
<include segmentGroup="basal"/>
43143+
<include segmentGroup="apical"/>
43144+
</segmentGroup>
4313543145
</morphology>
4313643146
<biophysicalProperties id="biophys">
4313743147
<membraneProperties>

NMC/NeuroML2/cNAC187_L1_HAC_f8c9772d9d_0_0.cell.nml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9551,6 +9551,16 @@ For more information on this cell model see: https://bbp.epfl.ch/nmc-portal/micr
95519551
<segmentGroup id="somatic">
95529552
<include segmentGroup="soma_0"/>
95539553
</segmentGroup>
9554+
<segmentGroup id="soma_group">
9555+
<include segmentGroup="somatic"/>
9556+
</segmentGroup>
9557+
<segmentGroup id="axon_group">
9558+
<include segmentGroup="axonal"/>
9559+
</segmentGroup>
9560+
<segmentGroup id="dendrite_group">
9561+
<include segmentGroup="basal"/>
9562+
<include segmentGroup="apical"/>
9563+
</segmentGroup>
95549564
</morphology>
95559565
<biophysicalProperties id="biophys">
95569566
<membraneProperties>

NMC/NeuroML2/cSTUT189_L23_LBC_e6e8f83407_0_0.cell.nml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6986,6 +6986,16 @@ For more information on this cell model see: https://bbp.epfl.ch/nmc-portal/micr
69866986
<segmentGroup id="somatic">
69876987
<include segmentGroup="soma_0"/>
69886988
</segmentGroup>
6989+
<segmentGroup id="soma_group">
6990+
<include segmentGroup="somatic"/>
6991+
</segmentGroup>
6992+
<segmentGroup id="axon_group">
6993+
<include segmentGroup="axonal"/>
6994+
</segmentGroup>
6995+
<segmentGroup id="dendrite_group">
6996+
<include segmentGroup="basal"/>
6997+
<include segmentGroup="apical"/>
6998+
</segmentGroup>
69896999
</morphology>
69907000
<biophysicalProperties id="biophys">
69917001
<membraneProperties>

NMC/parser/ParseAll.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,10 @@ def process_celldir(inputs):
291291
metric="Path Length from root",
292292
proximal=neuroml.ProximalDetails(
293293
translation_start="0")))
294+
295+
cell.morphology.segment_groups.append(neuroml.SegmentGroup(id="soma_group", includes=[neuroml.Include("somatic")]))
296+
cell.morphology.segment_groups.append(neuroml.SegmentGroup(id="axon_group", includes=[neuroml.Include("axonal")]))
297+
cell.morphology.segment_groups.append(neuroml.SegmentGroup(id="dendrite_group", includes=[neuroml.Include("basal"),neuroml.Include("apical")]))
294298

295299
ignore_chans = ['Ih', 'Ca_HVA', 'Ca_LVAst', 'Ca',
296300
"SKv3_1", "SK_E2", "CaDynamics_E2", "Nap_Et2", "Im",

0 commit comments

Comments
 (0)