Skip to content

Compound nodes are ignored in cal blocks. #36

@jcjaskula-aws

Description

@jcjaskula-aws

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{...})....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions