BhallaLab / moose-core

C++ basecode and python scripting interface
https://moose.ncbs.res.in
GNU General Public License v3.0
15 stars 26 forks source link

Incorrect error message for path issue #461

Open subhacom opened 1 year ago

subhacom commented 1 year ago

>>> clock = moose.Clock('/clock[0]')
>>> clock = moose.Clock('/clock[1]')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: no such moose class : Clock

The error message should have probably complained about the path in the second command. Obviously the Clock class does exist.