Page 1 of 1

Ipython problem

Posted: Fri Aug 15, 2008 9:59 am
by henriklinden
Hi,

I am using NEURON 6.2.1 (2189) with Ipython 0.8.4. If I do

Code: Select all

import neuron
h = neuron.h
and then type

Code: Select all

h.
and press tab I would expect to get a list of available functions and variables in the h-object. Instead Ipython crashes with the message
h.Bus error
Does anyone know if there is a way to repair this?

Re: Ipython problem

Posted: Fri Aug 15, 2008 12:07 pm
by hines
I forgot to implement h.__dict__ when h is the TopLeveHocInterpreter and need to
think about whether I should really print every name known to the Hoc interpreter.

Re: Ipython problem

Posted: Fri Aug 22, 2008 7:39 am
by hines
The http://www.neuron.yale.edu/cgi-bin/trac ... geset/2193
has the behavior

Code: Select all

$ ipython
...
from neuron import h
...
In [3]: h.<tab>
Display all 403 possibilities? (y or n)

Re: Ipython problem

Posted: Sun Aug 24, 2008 6:04 am
by henriklinden
That's great, thank you!

Henrik