Page 1 of 1

Continous create in Cell Builder

Posted: Tue Jan 24, 2006 8:12 am
by Trapper
Hi,

after using the import 3d tool to import an swc file and then using the cell builder to specify the properties i want to instantiate them in my model and turn 'continous create' on. In doing so, i get always following error:
nrniv: division by zero
near line 2
{forsec all { nseg = int((L/(0.1*lambda_f(100))+.9)/2)*2 + 1 }}
^
lambda_f(100 )
CellGeometry[0].execute"forsec all { nseg = int((L/(0.1*lambda_f(100))+.9)/2)*2 + 1 }" )
CellGeometry[0].export_autonseg )
CellGeometry[0].export )
and others

For the properties in the Cell Builder i use the values given in the Neurons Optimization Tools Tutorial.
Why does the error occour?

Posted: Wed Jan 25, 2006 12:34 pm
by ted
My bet is that the original data contain a "zero length neurite." However, I thought that,
in the most recent standard distribution of NEURON, the Import3D tool was able to
detect and fix that problem automatically. When you start NEURON, exactly what does
it print in its startup banner?

--Ted