Dmandel wrote:Here is the hoc code
No, that's the error message.
Code: Select all
/Applications/NEURON-7.3/nrn/x86_64/bin/nrniv: undefined variable soma
in ForChris.ses near line 109
}
^
oc>/Applications/NEURON-7.3/nrn/x86_64/bin/nrniv: syntax error
near line 1
{access soma}
The meaning of this error message is quite clear. You fed the hoc interpreter a file that contained the statement
access soma
but hoc could not execute that statement because there was no section called soma.
"What did I do wrong?"
Can't tell from here. There is an unlimited number of ways in which one can arrive at a state in which there is no section called soma. Did you forget to load a file that has a statement that would create a section called soma?