From c3023ee0f730e2e6b9bfda9e59ee50c03711c80e Mon Sep 17 00:00:00 2001 From: Pramod S Kumbhar Date: Mon, 12 Sep 2022 11:29:35 +0200 Subject: [PATCH 1/2] USEION variable can not be initialized in a CONSTANT block. See https://github.com/neuronsimulator/nrn/pull/1955. --- ReadMe.htm | 5 +++++ cdp3.mod | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ReadMe.htm b/ReadMe.htm index ccfffc9..3de7a18 100644 --- a/ReadMe.htm +++ b/ReadMe.htm @@ -107,3 +107,8 @@ analysis of dendritic Ca2+ kinetics in rodent Purkinje cells: role of parvalbumin and calbindin D28k. J Physiol 551:13-32 + Changelog + + cdp3.mod is updated due to issue mentioned in https://github.com/neuronsimulator/nrn/pull/1955. + CONSTANT block has no effect in the initialization of ion variables. + diff --git a/cdp3.mod b/cdp3.mod index 4ab0237..5080259 100644 --- a/cdp3.mod +++ b/cdp3.mod @@ -95,6 +95,7 @@ ASSIGNED { : ica_pmp_last (mA/cm2) parea (um) : pump area per unit length cai (mM) + cao (mM) mgi (mM) vrat[Nannuli] (1) : dimensionless : numeric value of vrat[i] equals the volume @@ -103,7 +104,7 @@ ASSIGNED { } -CONSTANT { cao = 2 (mM) } +: CONSTANT { cao = 2 (mM) } STATE { : ca[0] is equivalent to cai From 6b4a0a926d4b5f9305f6fcdc0abcca02d46d3b82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandru=20S=C4=83vulescu?= Date: Mon, 12 Sep 2022 11:44:21 +0200 Subject: [PATCH 2/2] cdp5.mod --- ReadMe.htm | 2 +- cdp5.mod | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ReadMe.htm b/ReadMe.htm index 3de7a18..9e53217 100644 --- a/ReadMe.htm +++ b/ReadMe.htm @@ -109,6 +109,6 @@ Changelog - cdp3.mod is updated due to issue mentioned in https://github.com/neuronsimulator/nrn/pull/1955. + cdp3.mod and cdp5.mod 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. diff --git a/cdp5.mod b/cdp5.mod index 947d471..53b90ee 100644 --- a/cdp5.mod +++ b/cdp5.mod @@ -97,11 +97,12 @@ ASSIGNED { parea (um) : pump area per unit length parea2 (um) cai (mM) + cao (mM) mgi (mM) vrat (1) } -CONSTANT { cao = 2 (mM) } +: CONSTANT { cao = 2 (mM) } STATE { : ca[0] is equivalent to cai