Page 1 of 1

Minor bug: uncaught python error condition

Posted: Thu Oct 23, 2014 2:43 pm
by lcampagn
Example:

Code: Select all

>>> h.same(1, 2)
False
>>> h.fadvance()
TypeError: function takes exactly 1 argument (2 given)
It appears the first statement generated a python error, but the exception was not raised until the error check in the following statement.

Re: Minor bug: uncaught python error condition

Posted: Fri Oct 24, 2014 1:43 am
by hines
Thanks. The fix is in http://www.neuron.yale.edu/hg/neuron/nr ... 255dcb7c6a
I will merge it to the trunk after dealing with the other error you mentioned.