brian-team/brian2

Improve parser for model descriptions

bdevans opened this issue · 1 comments

Improve parser for model descriptions

This is meant to address issues such as #308:

Here is the error message I get if I forget to specify the units an equation:

       spacelength=(diameter/(4*Ri*gtot__private))**.5
       ^
Expected end of text (at char 318), (line:11, col:9)

Probably it could be more explicit!