Skip to content

Graph Section Comments Break Validation #6650

@wxtim

Description

@wxtim

A multiline graph containing a comment containing a set of quotes like the termination of the graph section causes a validation failure: True for both ''' and """

Reproducible Example

#!jinja2
[scheduler]
    allow implicit tasks = True

[scheduling]
    [[graph]]
        R1 = '''
            # ''' Surely Cylc Shouldn't see this as the end of the graph?
            foo
        '''

Expected Behaviour

Quotation marks in comments ought to be ignored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is wrong :(questionFlag this as a question for the next Cylc project meeting.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions