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

Avoid declaring (ion) state variables as global, see neuronsimulator/nrn/pull/1723 #1

Merged
merged 2 commits into from
May 27, 2022
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
11 changes: 4 additions & 7 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,7 @@ LFP.m: frequency analysis of the simulated local field potential (sLFP)
Load_data.m: Load all relevant data into the workspace (in order to save the data into a mat file for future analysis)









Changelog
---------
2022-05: Updated MOD files to compile with the latest neuron releases where
ion variables used as STATE can not be declared as GLOBAL.
2 changes: 1 addition & 1 deletion cadecay.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ NEURON{
SUFFIX cad
USEION ca READ ica, cai WRITE cai
RANGE ica, channel_flow, depth, B
GLOBAL cai, tau, cainf
GLOBAL tau, cainf
}

UNITS {
Expand Down
2 changes: 1 addition & 1 deletion cadecay2.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ NEURON{
SUFFIX cad2
USEION ca READ ica, cai WRITE cai
RANGE ica, channel_flow, depth, B
GLOBAL cai, tau, cainf
GLOBAL tau, cainf
}

UNITS {
Expand Down