Skip to content

Commit

Permalink
Ion variables can not be set via CONSTANT block (upcoming neuron rele…
Browse files Browse the repository at this point in the history
…ase)

* Setting ionic variable like `cao`` in CONSTANT block had no effect
  See neuronsimulator/nrn#1955
* This will be an error in future neuron v9 and with the latest
  neuron-nightly pypi package.
* As setting cao from MOD file had no effect, simply uncomment this (?)
  • Loading branch information
pramodk committed Sep 9, 2022
1 parent 748cdd4 commit 6f84b65
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ ASSIGNED {
vrat (1)
}

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

STATE {
: ca[0] is equivalent to cai
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ ASSIGNED {
icazz (nA)
}

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

STATE {
: ca[0] is equivalent to cai
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ ASSIGNED {
icazz (nA)
}

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

STATE {
: ca[0] is equivalent to cai
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ ASSIGNED {
mg (mM) <1e-6>
}

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

STATE {
: ca[0] is equivalent to cai
Expand Down

0 comments on commit 6f84b65

Please sign in to comment.