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

If a helper raises an Exception, we get an AST error #54

Open
ahelsing opened this issue Sep 13, 2019 · 0 comments
Open

If a helper raises an Exception, we get an AST error #54

ahelsing opened this issue Sep 13, 2019 · 0 comments

Comments

@ahelsing
Copy link
Contributor

If a (non qgl2) helper raises an error (e.g. FileNotFound), at compile-time we get an error in the evaluator.
EG:

src/python/qgl2/basic_sequences/RB.py:352:19: error: ast eval failure [readSeqFile(seqFile)]: type <class 'ValueError'> Missing file of sequences
src/python/qgl2/basic_sequences/RB.py:352:4: error: failed to evaluate assignment [pulseSeqStrs___ass_006 = readSeqFile(seqFile)]
src/python/qgl2/basic_sequences/RB.py:352:4: error: assignment failed [
pulseSeqStrs___ass_006 = readSeqFile(seqFile)
]
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

No branches or pull requests

1 participant