Thanks to visit codestin.com
Credit goes to github.com

Skip to content

nf-core modules create creates wrong process label when subtool is given #1011

@KevinMenden

Description

@KevinMenden

When using nf-core modules create tool/subtool, the main.nf file will have a process name called TOOL/SUBTOOL which should be TOOL_SUBTOOL.

The reason for that is that we don't set the self.subtool variable anymore (it's always None).
So to solve this we should just check, in the init function of the ModuleCreate class, whether the tool has a subtool and then set self.subtool to true/false accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions