Skip to content

Commit 427de74

Browse files
committed
Regenerated with some extra property info in cells
1 parent 571a60b commit 427de74

9 files changed

+71
-30
lines changed

NMC/NeuroML2/cADpyr229_L23_PC_5ecbf9b163.stepcurrent3.net.nml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33

44
Export of a cell model obtained from the BBP NeocorticalMicrocircuit Collaboration Portal into NeuroML2
55

6+
For more information on this cell model see: https://bbp.epfl.ch/nmc-portal/microcircuit#/metype/L23_PC_cADpyr/details
7+
68
******************************************************
79
* This export to NeuroML2 has not yet been fully validated!!
810
* Use with caution!!
911
******************************************************
1012

11-
For more information on this cell model see: https://bbp.epfl.ch/nmc-portal/microcircuit#/metype/L23_PC_L23PC/details
12-
13-
</notes>
13+
</notes>
1414
<include href="cADpyr229_L23_PC_5ecbf9b163_0_0.cell.nml"></include>
1515
<pulseGenerator id="stepcurrent3_hyp" delay="0ms" duration="3000ms" amplitude="-0.071777nA"/>
1616
<pulseGenerator id="stepcurrent3" delay="700ms" duration="2000ms" amplitude="0.1897924nA"/>

NMC/NeuroML2/cADpyr229_L23_PC_5ecbf9b163_0_0.cell.nml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,21 @@
1717

1818
Export of a cell model obtained from the BBP NeocorticalMicrocircuit Collaboration Portal into NeuroML2
1919

20+
For more information on this cell model see: https://bbp.epfl.ch/nmc-portal/microcircuit#/metype/L23_PC_cADpyr/details
21+
2022
******************************************************
2123
* This export to NeuroML2 has not yet been fully validated!!
2224
* Use with caution!!
2325
******************************************************
2426

25-
For more information on this cell model see: https://bbp.epfl.ch/nmc-portal/microcircuit#/metype/L23_PC_L23PC/details
26-
27-
</notes>
27+
</notes>
28+
<property tag="BBP:layer" value="L3"/>
29+
<property tag="BBP:me-type" value="L23_PC_cADpyr"/>
30+
<property tag="BBP:m-type" value="L23_PC"/>
31+
<property tag="BBP:cell name" value="cADpyr229_L23_PC_3_dend-C170897A-P3_axon-C260897C-P4_-_Clone_4"/>
32+
<property tag="BBP:gid" value="35954"/>
33+
<property tag="BBP:e-type" value="L23PC"/>
34+
<property tag="BBP:morphology" value="dend-C170897A-P3_axon-C260897C-P4_-_Clone_4"/>
2835
<morphology id="morphology">
2936
<segment id="0" name="Seg0_soma_0">
3037
<proximal x="2.575320e-01" y="-8.049430e+00" z="0.000000e+00" diameter="3.02824"/>

NMC/NeuroML2/cADpyr232_L5_TTPC1_0fb1ca4724.stepcurrent3.net.nml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33

44
Export of a cell model obtained from the BBP NeocorticalMicrocircuit Collaboration Portal into NeuroML2
55

6+
For more information on this cell model see: https://bbp.epfl.ch/nmc-portal/microcircuit#/metype/L5_TTPC1_cADpyr/details
7+
68
******************************************************
79
* This export to NeuroML2 has not yet been fully validated!!
810
* Use with caution!!
911
******************************************************
1012

11-
For more information on this cell model see: https://bbp.epfl.ch/nmc-portal/microcircuit#/metype/L5_TTPC1_L5PC/details
12-
13-
</notes>
13+
</notes>
1414
<include href="cADpyr232_L5_TTPC1_0fb1ca4724_0_0.cell.nml"></include>
1515
<pulseGenerator id="stepcurrent3_hyp" delay="0ms" duration="3000ms" amplitude="-0.247559nA"/>
1616
<pulseGenerator id="stepcurrent3" delay="700ms" duration="2000ms" amplitude="0.646625nA"/>

NMC/NeuroML2/cADpyr232_L5_TTPC1_0fb1ca4724_0_0.cell.nml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,21 @@
1717

1818
Export of a cell model obtained from the BBP NeocorticalMicrocircuit Collaboration Portal into NeuroML2
1919

20+
For more information on this cell model see: https://bbp.epfl.ch/nmc-portal/microcircuit#/metype/L5_TTPC1_cADpyr/details
21+
2022
******************************************************
2123
* This export to NeuroML2 has not yet been fully validated!!
2224
* Use with caution!!
2325
******************************************************
2426

25-
For more information on this cell model see: https://bbp.epfl.ch/nmc-portal/microcircuit#/metype/L5_TTPC1_L5PC/details
26-
27-
</notes>
27+
</notes>
28+
<property tag="BBP:layer" value="L5"/>
29+
<property tag="BBP:me-type" value="L5_TTPC1_cADpyr"/>
30+
<property tag="BBP:m-type" value="L5_TTPC1"/>
31+
<property tag="BBP:cell name" value="cADpyr232_L5_TTPC1_5_dend-C060114A2_axon-C060114A5"/>
32+
<property tag="BBP:gid" value="12858"/>
33+
<property tag="BBP:e-type" value="L5PC"/>
34+
<property tag="BBP:morphology" value="dend-C060114A2_axon-C060114A5"/>
2835
<morphology id="morphology">
2936
<segment id="0" name="Seg0_soma_0">
3037
<proximal x="3.947040e+00" y="-1.382970e+01" z="0.000000e+00" diameter="3.61096"/>

NMC/NeuroML2/cNAC187_L1_HAC_f8c9772d9d.stepcurrent3.net.nml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33

44
Export of a cell model obtained from the BBP NeocorticalMicrocircuit Collaboration Portal into NeuroML2
55

6+
For more information on this cell model see: https://bbp.epfl.ch/nmc-portal/microcircuit#/metype/L1_HAC_cNAC/details
7+
68
******************************************************
79
* This export to NeuroML2 has not yet been fully validated!!
810
* Use with caution!!
911
******************************************************
1012

11-
For more information on this cell model see: https://bbp.epfl.ch/nmc-portal/microcircuit#/metype/L1_HAC_cNAC/details
12-
13-
</notes>
13+
</notes>
1414
<include href="cNAC187_L1_HAC_f8c9772d9d_0_0.cell.nml"></include>
1515
<pulseGenerator id="stepcurrent3_hyp" delay="0ms" duration="3000ms" amplitude="-0.025513nA"/>
1616
<pulseGenerator id="stepcurrent3" delay="700ms" duration="2000ms" amplitude="0.0665952nA"/>

NMC/NeuroML2/cNAC187_L1_HAC_f8c9772d9d_0_0.cell.nml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,21 @@
1717

1818
Export of a cell model obtained from the BBP NeocorticalMicrocircuit Collaboration Portal into NeuroML2
1919

20+
For more information on this cell model see: https://bbp.epfl.ch/nmc-portal/microcircuit#/metype/L1_HAC_cNAC/details
21+
2022
******************************************************
2123
* This export to NeuroML2 has not yet been fully validated!!
2224
* Use with caution!!
2325
******************************************************
2426

25-
For more information on this cell model see: https://bbp.epfl.ch/nmc-portal/microcircuit#/metype/L1_HAC_cNAC/details
26-
27-
</notes>
27+
</notes>
28+
<property tag="BBP:layer" value="L1"/>
29+
<property tag="BBP:me-type" value="L1_HAC_cNAC"/>
30+
<property tag="BBP:m-type" value="L1_HAC"/>
31+
<property tag="BBP:cell name" value="cNAC187_L1_HAC_1_sm081119a6"/>
32+
<property tag="BBP:gid" value="31362"/>
33+
<property tag="BBP:e-type" value="cNAC"/>
34+
<property tag="BBP:morphology" value="sm081119a6"/>
2835
<morphology id="morphology">
2936
<segment id="0" name="Seg0_soma_0">
3037
<proximal x="-3.809550e+00" y="-7.565470e+00" z="0.000000e+00" diameter="2.78828"/>

NMC/NeuroML2/cSTUT189_L23_LBC_e6e8f83407.stepcurrent3.net.nml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33

44
Export of a cell model obtained from the BBP NeocorticalMicrocircuit Collaboration Portal into NeuroML2
55

6+
For more information on this cell model see: https://bbp.epfl.ch/nmc-portal/microcircuit#/metype/L23_LBC_cSTUT/details
7+
68
******************************************************
79
* This export to NeuroML2 has not yet been fully validated!!
810
* Use with caution!!
911
******************************************************
1012

11-
For more information on this cell model see: https://bbp.epfl.ch/nmc-portal/microcircuit#/metype/L23_LBC_cSTUT/details
12-
13-
</notes>
13+
</notes>
1414
<include href="cSTUT189_L23_LBC_e6e8f83407_0_0.cell.nml"></include>
1515
<pulseGenerator id="stepcurrent3_hyp" delay="0ms" duration="3000ms" amplitude="-0.042603nA"/>
1616
<pulseGenerator id="stepcurrent3" delay="700ms" duration="2000ms" amplitude="0.2898434nA"/>

NMC/NeuroML2/cSTUT189_L23_LBC_e6e8f83407_0_0.cell.nml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,21 @@
1818

1919
Export of a cell model obtained from the BBP NeocorticalMicrocircuit Collaboration Portal into NeuroML2
2020

21+
For more information on this cell model see: https://bbp.epfl.ch/nmc-portal/microcircuit#/metype/L23_LBC_cSTUT/details
22+
2123
******************************************************
2224
* This export to NeuroML2 has not yet been fully validated!!
2325
* Use with caution!!
2426
******************************************************
2527

26-
For more information on this cell model see: https://bbp.epfl.ch/nmc-portal/microcircuit#/metype/L23_LBC_cSTUT/details
27-
28-
</notes>
28+
</notes>
29+
<property tag="BBP:layer" value="L3"/>
30+
<property tag="BBP:me-type" value="L23_LBC_cSTUT"/>
31+
<property tag="BBP:m-type" value="L23_LBC"/>
32+
<property tag="BBP:cell name" value="cSTUT189_L23_LBC_3_C050398B-I4_-_Scale_x1.000_y1.050_z1.000"/>
33+
<property tag="BBP:gid" value="162947"/>
34+
<property tag="BBP:e-type" value="cSTUT"/>
35+
<property tag="BBP:morphology" value="C050398B-I4_-_Scale_x1.000_y1.050_z1.000"/>
2936
<morphology id="morphology">
3037
<segment id="0" name="Seg0_soma_0">
3138
<proximal x="-2.563980e+00" y="1.218560e+01" z="-3.459150e+00" diameter="3.25378"/>

NMC/parser/ParseAll.py

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import neuroml
1414

1515
import shutil
16-
16+
import re
1717
import zipfile
1818

1919
from Biophysics import get_biophysical_properties
@@ -310,20 +310,33 @@ def process_celldir(inputs):
310310
notes = ''
311311
notes += \
312312
"\n\nExport of a cell model obtained from the BBP Neocortical" \
313-
"Microcircuit Collaboration Portal into NeuroML2" \
314-
"\n\n******************************************************\n*" \
315-
" This export to NeuroML2 has not yet been fully validated!!" \
316-
"\n* Use with caution!!\n***********************************" \
317-
"*******************\n\n"
313+
"Microcircuit Collaboration Portal into NeuroML2\n\n"
318314

319315
if len(ignore_chans) > 0:
320316
notes += "Ignored channels = %s\n\n" % ignore_chans
317+
318+
#### Fix me-type
319+
cell_name = cell_info['cell name']
320+
321+
cell_info['me-type'] = cell_info['m-type'] + '_' + re.split('[0-9]',cell_name)[0]
321322

322323
notes += "For more information on this cell model see: " \
323324
"https://bbp.epfl.ch/nmc-portal/microcircuit#/metype/%s/" \
324325
"details\n\n" % cell_info['me-type']
326+
327+
notes += "******************************************************\n*" \
328+
" This export to NeuroML2 has not yet been fully validated!!" \
329+
"\n* Use with caution!!\n***********************************" \
330+
"*******************\n\n "
325331

326332
cell.notes = notes
333+
334+
for k in cell_info.keys():
335+
p = neuroml.Property(tag='BBP:%s'%k, value=cell_info[k])
336+
cell.properties.append(p)
337+
338+
339+
327340
for channel in incl_chans:
328341

329342
nml_doc.includes.append(neuroml.IncludeType(

0 commit comments

Comments
 (0)