Skip to content

--empty-template flag not producing fully empty module template #4054

@vagkaratzas

Description

@vagkaratzas

Description of the bug

After executing nf-core modules create <tool_name> --empty-template TODOs are still there in main.nf.test and environment.yml. Also the meta.yml is getting generated with an older weird format for descriptions wher ethe last ] would skip to the next line.

Command used and terminal output

nf-core modules create <tool_name> --empty-template

// TODO nf-core: Once you have added the required tests, please run the following command to build this file:
// nf-core modules test pygenprop/info
nextflow_process {

    name "Test Process PYGENPROP_INFO"
    script "../main.nf"
    process "PYGENPROP_INFO"

    tag "modules"
    tag "modules_nfcore"
    tag "pygenprop"
    tag "pygenprop/info"

    // TODO nf-core: Change the test name preferably indicating the test-data and file-format used


input:
  - - meta:
        type: map
        description: Groovy Map containing sample information. e.g. `[ id:'sample1'
          ]`

System information

Shouldn't be required

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmodulesRelated to tools for working with DSL2 modulestemplatenf-core pipeline/component template

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions