I have a problem where point processes are not being removed from NEURON (7.3) even though all python references are apparently lost. Here is my simple point process:
Code: Select all
NEURON {
POINT_PROCESS TestPointProc
RANGE rangeval
}
ASSIGNED {
rangeval (1)
}
Code: Select all
import neuron
s = neuron.h.Section()
m = neuron.h.TestPointProc(0.5, sec=s)
assert len(neuron.h.List('TestPointProc')) == 1
# test executes correctly if this line is removed:
m.rangeval
del m
assert len(neuron.h.List('TestPointProc')) == 0
Thanks!