Skip to content

Inline commenting breaks rule definition syntax #49

@bredler

Description

@bredler

Adding a comment line to a rule directive definition like input, output , or params, breaks the syntax recognition.

The below example shows this as the error:
"SyntaxError: L50: Unrecognised keyword 'sam_1' in rule definitionSnakefmt(snakefmt:syntax-error)"

Removing the comment line "# MAPQ filtered files" resolves the error and creates a new error below the comment line "# FASTQ files"

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions