Skip to content

Commit

Permalink
Updated MOD file to fix the issue with the upcoming NEURON 9.0 release (
Browse files Browse the repository at this point in the history
#1)

* Updated MOD file to fix the issue with the upcoming NEURON 9.0 release

USEION variable can not be initialized in a CONSTANT block.
See neuronsimulator/nrn#1955.

* fix missing declaration of cao
  • Loading branch information
pramodk authored Sep 23, 2022
1 parent 8151133 commit b1a2777
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
5 changes: 2 additions & 3 deletions 01_GrC_2020_regular/mod_files/cdp5_CR.mod
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,11 @@ ASSIGNED {
parea (um) : pump area per unit length
parea2 (um)
cai (mM)
cao (mM)
mgi (mM)
vrat (1)
}

CONSTANT { cao = 2 (mM) }

STATE {
: ca[0] is equivalent to cai
: ca[] are very small, so specify absolute tolerance
Expand Down Expand Up @@ -304,4 +303,4 @@ FUNCTION ssDMNPE() (mM) {

FUNCTION ssDMNPEca() (mM) {
ssDMNPEca = DMNPEnull/(1+(c2/(c1*cainull)))
}
}
5 changes: 2 additions & 3 deletions 02_GrC_2020_mild_adapting/mod_files/cdp5_CR.mod
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,11 @@ ASSIGNED {
parea (um) : pump area per unit length
parea2 (um)
cai (mM)
cao (mM)
mgi (mM)
vrat (1)
}

CONSTANT { cao = 2 (mM) }

STATE {
: ca[0] is equivalent to cai
: ca[] are very small, so specify absolute tolerance
Expand Down Expand Up @@ -304,4 +303,4 @@ FUNCTION ssDMNPE() (mM) {

FUNCTION ssDMNPEca() (mM) {
ssDMNPEca = DMNPEnull/(1+(c2/(c1*cainull)))
}
}
5 changes: 2 additions & 3 deletions 03_GrC_2020_adapting/mod_files/cdp5_CR.mod
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,11 @@ ASSIGNED {
parea (um) : pump area per unit length
parea2 (um)
cai (mM)
cao (mM)
mgi (mM)
vrat (1)
}

CONSTANT { cao = 2 (mM) }

STATE {
: ca[0] is equivalent to cai
: ca[] are very small, so specify absolute tolerance
Expand Down Expand Up @@ -304,4 +303,4 @@ FUNCTION ssDMNPE() (mM) {

FUNCTION ssDMNPEca() (mM) {
ssDMNPEca = DMNPEnull/(1+(c2/(c1*cainull)))
}
}
7 changes: 7 additions & 0 deletions readme.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,11 @@
A Live Paper can be found on the HBP Brain Simulation Platform.
<a href="https://collab.humanbrainproject.eu/#/collab/1655/nav/306845">https://collab.humanbrainproject.eu/#/collab/1655/nav/306845</a>


Changelog
---------

cdp5*.mod files are updated due to issue mentioned in https://github.com/neuronsimulator/nrn/pull/1955.
CONSTANT block has no effect in the initialization of ion variables.

</pre></html>

0 comments on commit b1a2777

Please sign in to comment.