Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USEION variable can not be initialized in a CONSTANT block. #1

Merged
merged 2 commits into from
Jan 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions ReadMe.htm
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,8 @@
analysis of dendritic Ca2+ kinetics in rodent Purkinje cells: role of
parvalbumin and calbindin D28k. J Physiol 551:13-32

<b>Changelog</b>

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.

3 changes: 2 additions & 1 deletion cdp3.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -103,7 +104,7 @@ ASSIGNED {

}

CONSTANT { cao = 2 (mM) }
: CONSTANT { cao = 2 (mM) }

STATE {
: ca[0] is equivalent to cai
Expand Down
3 changes: 2 additions & 1 deletion cdp5.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down