nmodl icon indicating copy to clipboard operation
nmodl copied to clipboard

Set strict mode for sympy

Open JCGoran opened this issue 1 year ago • 3 comments

Fixes #1129 (or at least it shows a readable error this time). Raise a proper Python error instead of the mysterious parser error about an unexpexted /. The full error is actually caused by:

/* Not supported in C */
/* <list of symbols/functions> */

being part of the output, and NMODL cannot handle it.

Only works in Sympy 1.13 and above, so SymPy has also been bumped.

Needs https://github.com/BlueBrain/spack/pull/2508.

JCGoran avatar Aug 30 '24 15:08 JCGoran