Skip to content

Formatter removes commented out nextflow processes #111

@b-lac

Description

@b-lac

When a process block is commented out it is removed when saving/formatting:

This:

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2

workflow {

  Channel.of("a", "b", "c", "d")
    | view
}

// process something {
//   input:
//   val a

//   output:
//   path "b.txt"

//   script:
//   """
//   touch b.txt
//   """
// }

Becomes:

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2

workflow {

  Channel.of("a", "b", "c", "d")
    | view
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    formattingRelated to automatic code formatting

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions