Skip to content

Commit

Permalink
Make membraneProperties require at least one each of specificCapacita…
Browse files Browse the repository at this point in the history
…nce and initMembPotential
  • Loading branch information
pgleeson committed May 31, 2024
1 parent ed7b92b commit fe3aa27
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Schemas/NeuroML2/NeuroML_v2.3.1.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -2118,8 +2118,8 @@
<xs:element name="channelDensityNonUniformNernst" type="ChannelDensityNonUniformNernst" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="channelDensityNonUniformGHK" type="ChannelDensityNonUniformGHK" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="spikeThresh" type="SpikeThresh" minOccurs="1" maxOccurs="unbounded"/>
<xs:element name="specificCapacitance" type="SpecificCapacitance" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="initMembPotential" type="InitMembPotential" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="specificCapacitance" type="SpecificCapacitance" minOccurs="1" maxOccurs="unbounded"/>
<xs:element name="initMembPotential" type="InitMembPotential" minOccurs="1" maxOccurs="unbounded"/>
<!-- Taking this out until confirmation it's needed
<xs:element name="reversalPotential" type="ReversalPotential" minOccurs="0" maxOccurs="unbounded"/>-->
</xs:sequence>
Expand Down
2 changes: 2 additions & 0 deletions examples/NML2_FullCell.nml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@

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

<initMembPotential value="-65mV"/>

</membraneProperties>

<intracellularProperties>
Expand Down
2 changes: 2 additions & 0 deletions examples/NML2_FullNeuroML.nml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@
erev="50mV"/> <!-- Temporarily specifying erev in the channelDensity element-->

<spikeThresh value="0mV"/>
<specificCapacitance segmentGroup="soma_group" value="1.0 uF_per_cm2"/>
<initMembPotential value="-65mV"/>

</membraneProperties>

Expand Down
2 changes: 2 additions & 0 deletions examples/NML2_InhomogeneousParams.nml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@
<spikeThresh value="0mV"/>

<specificCapacitance segmentGroup="soma_group" value="1.0 uF_per_cm2"/>

<initMembPotential value="-65mV"/>
</membraneProperties>

<intracellularProperties>
Expand Down

0 comments on commit fe3aa27

Please sign in to comment.