Skip to content

Commit b532375

Browse files
authored
Merge pull request #9 from OpenSourceBrain/development
Fix moose gh install
2 parents fb499b1 + 9ff34b1 commit b532375

File tree

2 files changed

+18
-10
lines changed

2 files changed

+18
-10
lines changed

.github/workflows/build-ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version: [ "3.8", "3.9" ]
16+
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
1717

1818
steps:
1919
- uses: actions/checkout@v4
@@ -38,10 +38,17 @@ jobs:
3838
pip install jupyter_packaging
3939
pip install scipy
4040
pip install pyneuroml
41+
pip install pybind11[global]
42+
pip install python-libsbml
4143
42-
python setup.py install
44+
sudo apt-get install libhdf5-dev
45+
46+
pip install .
4347
4448
pip list
49+
50+
echo "MOOSE version:"
51+
python -c "import moose; print(moose.__version__)"
4552
4653
- name: Test Moose files
4754
run: |

NeuroML2/test_files/NML2_FullCell.nml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,21 @@
22

33
<neuroml xmlns="http://www.neuroml.org/schema/neuroml2"
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5-
xmlns:xi="http://www.w3.org/2001/XInclude"
65
xsi:schemaLocation="http://www.neuroml.org/schema/neuroml2 ../Schemas/NeuroML2/NeuroML_v2beta4.xsd"
76
id="NML2_FullCell">
8-
7+
98

109
<!-- Example of a multicompartmental cell with biophysics in NeuroML 2 -->
1110

12-
<!-- This is a "pure" NeuroML 2 file. It cannot currently used for simulations with
13-
jLEMS/jNeuroML however, as jLEMS does not yet support multicompartmental cells -->
11+
<!-- This is a "pure" NeuroML 2 file. It cannot currently used for simulations with
12+
jLEMS/jNeuroML however, as jLEMS does not yet support multicompartmental cells -->
1413

1514
<include href="SimpleIonChannel.xml"/> <!-- Contains ionChannel NaConductance -->
1615

1716
<ionChannel type="ionChannelPassive" id="pas" conductance="10pS"/> <!--For use in example cell below-->
1817

1918
<!-- Note, no <cells> element... -->
20-
19+
2120
<cell id="SpikingCell" metaid="HippoCA1Cell">
2221

2322
<notes>A Simple Spiking cell for testing purposes</notes>
@@ -54,7 +53,7 @@
5453
<parent segment="1"/>
5554
<distal x="30" y="0" z="0" diameter="1"/>
5655
</segment>
57-
56+
5857
<segment id ="3" name="Spine1">
5958
<parent segment="2" fractionAlong="0.5"/>
6059
<proximal x="25" y="0" z="0" diameter="0.1"/>
@@ -63,7 +62,7 @@
6362

6463
<!-- segmentGroups follow -->
6564

66-
<segmentGroup id="soma_group" neuroLexId="sao1044911821"> <!-- Points to category "Neuronal Cell Body" in NeuroLex -->
65+
<segmentGroup id="soma_group" neuroLexId="sao1044911821"> <!-- Points to category "Neuronal Cell Body" in NeuroLex -->
6766
<member segment="0"/>
6867
</segmentGroup>
6968

@@ -81,14 +80,16 @@
8180

8281
<biophysicalProperties id="bio_cell">
8382

84-
<membraneProperties>
83+
<membraneProperties>
8584

8685
<channelPopulation id="naChansDend" ionChannel="NaConductance" segment="2" number="120000" erev="50mV" ion="na"/> <!-- Use population instead of density -->
8786

8887
<channelDensity id="pasChans" ionChannel="pas" condDensity="3.0 S_per_m2" erev="-70mV" ion="non_specific"/> <!-- no segmentGroup => all segments! -->
8988

9089
<channelDensity id="naChansSoma" ionChannel="NaConductance" segmentGroup="soma_group" condDensity="120.0 mS_per_cm2" erev="50mV" ion="na"/>
9190

91+
<spikeThresh value="0mV"/>
92+
9293
<specificCapacitance segmentGroup="soma_group" value="1.0 uF_per_cm2"/>
9394

9495
<specificCapacitance segmentGroup="dendrite_group" value="2.0 uF_per_cm2"/>

0 commit comments

Comments
 (0)