From b1a2777abfdceca05b06d1cfb7be03240de2036f Mon Sep 17 00:00:00 2001 From: Pramod Kumbhar Date: Fri, 23 Sep 2022 15:52:35 +0200 Subject: [PATCH] Updated MOD file to fix the issue with the upcoming NEURON 9.0 release (#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 https://github.com/neuronsimulator/nrn/pull/1955. * fix missing declaration of cao --- 01_GrC_2020_regular/mod_files/cdp5_CR.mod | 5 ++--- 02_GrC_2020_mild_adapting/mod_files/cdp5_CR.mod | 5 ++--- 03_GrC_2020_adapting/mod_files/cdp5_CR.mod | 5 ++--- readme.html | 7 +++++++ 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/01_GrC_2020_regular/mod_files/cdp5_CR.mod b/01_GrC_2020_regular/mod_files/cdp5_CR.mod index 446c559..a9b4142 100755 --- a/01_GrC_2020_regular/mod_files/cdp5_CR.mod +++ b/01_GrC_2020_regular/mod_files/cdp5_CR.mod @@ -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 @@ -304,4 +303,4 @@ FUNCTION ssDMNPE() (mM) { FUNCTION ssDMNPEca() (mM) { ssDMNPEca = DMNPEnull/(1+(c2/(c1*cainull))) -} \ No newline at end of file +} diff --git a/02_GrC_2020_mild_adapting/mod_files/cdp5_CR.mod b/02_GrC_2020_mild_adapting/mod_files/cdp5_CR.mod index 446c559..a9b4142 100755 --- a/02_GrC_2020_mild_adapting/mod_files/cdp5_CR.mod +++ b/02_GrC_2020_mild_adapting/mod_files/cdp5_CR.mod @@ -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 @@ -304,4 +303,4 @@ FUNCTION ssDMNPE() (mM) { FUNCTION ssDMNPEca() (mM) { ssDMNPEca = DMNPEnull/(1+(c2/(c1*cainull))) -} \ No newline at end of file +} diff --git a/03_GrC_2020_adapting/mod_files/cdp5_CR.mod b/03_GrC_2020_adapting/mod_files/cdp5_CR.mod index 446c559..a9b4142 100755 --- a/03_GrC_2020_adapting/mod_files/cdp5_CR.mod +++ b/03_GrC_2020_adapting/mod_files/cdp5_CR.mod @@ -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 @@ -304,4 +303,4 @@ FUNCTION ssDMNPE() (mM) { FUNCTION ssDMNPEca() (mM) { ssDMNPEca = DMNPEnull/(1+(c2/(c1*cainull))) -} \ No newline at end of file +} diff --git a/readme.html b/readme.html index f18ef2b..55ef1f1 100644 --- a/readme.html +++ b/readme.html @@ -87,4 +87,11 @@ A Live Paper can be found on the HBP Brain Simulation Platform. https://collab.humanbrainproject.eu/#/collab/1655/nav/306845 + +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. +