As written, the output is 3. If I uncomment the line that creates the section, then the output is 0. If I further uncomment the `insert` line, then the output is 1.
Code: Select all
from neuron import h #s = h.Section() #s.insert('hh') ms = h.MechanismStandard('k_ion', 1) print ms.count()
Is this the intended behavior?