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

Compound nodes are ignored in cal blocks. #36

Open
jcjaskula-aws opened this issue Nov 1, 2024 · 0 comments
Open

Compound nodes are ignored in cal blocks. #36

jcjaskula-aws opened this issue Nov 1, 2024 · 0 comments

Comments

@jcjaskula-aws
Copy link

jcjaskula-aws commented Nov 1, 2024

Here is an MVE:

import openpulse
p = "cal{{1;2;}}"
openpulse.parse(p)
# Program(span=Span(start_line=1, start_column=0, end_line=1, end_column=10), 
# statements=[CalibrationStatement(span=Span(start_line=1, start_column=0, end_line=1, 
# end_column=10), annotations=[], body=[])], version=None)

Please note that body=[]
Removing the cal block returns the expected results ..., body=CompoundStatement{...})....

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