Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set strict mode for sympy #1418

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft

Set strict mode for sympy #1418

wants to merge 6 commits into from

Conversation

JCGoran
Copy link
Contributor

@JCGoran JCGoran commented Aug 30, 2024

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 BlueBrain/spack#2508.

Raise a proper Python error instead of the mysterious parser error about
an unexpexted `/`.
The full code is actually:

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

Only works in Sympy 1.13 and above.
bbpadministrator pushed a commit to BlueBrain/nmodl-references that referenced this pull request Aug 30, 2024
@bbpbuildbot

This comment has been minimized.

bbpadministrator pushed a commit to BlueBrain/nmodl-references that referenced this pull request Sep 2, 2024
bbpadministrator pushed a commit to BlueBrain/nmodl-references that referenced this pull request Sep 2, 2024
@bbpbuildbot

This comment has been minimized.

bbpadministrator pushed a commit to BlueBrain/nmodl-references that referenced this pull request Sep 2, 2024
@bbpbuildbot
Copy link
Collaborator

Logfiles from GitLab pipeline #229385 (:white_check_mark:) have been uploaded here!

Status and direct links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NMODL fails on simple ODE.
2 participants