Page 1 of 1
How to access i_cap from Python
Posted: Thu Mar 01, 2012 5:21 pm
by bhalterm
How do I get access to the i_cap variable from the Python interpreter?
I tried
and
but neither work. The equivalent statements with "cm" work fine.
Re: How to access i_cap from Python
Posted: Fri Mar 02, 2012 7:11 am
by hines
My mistake. i_cap is a special name not derived from the mechanism names and needs to be added to the
list of such range variable names that are to be available from Python. See
http://www.neuron.yale.edu/hg/neuron/nr ... 0c15acdfb5
for the one line fix assuming you are building NEURON from sources. If you need an installer, from
http://www.neuron.yale.edu/ftp/neuron/versions/alpha/
let me know which you need and I'll put one there.
Re: How to access i_cap from Python
Posted: Fri Mar 02, 2012 8:09 am
by bhalterm
I'm building from source, so I'm all set. Thanks!