subworkflow_todos

SubworkflowLint.subworkflow_todos(subworkflow)

Look for TODO statements in the subworkflow files

The nf-core subworkflow template contains a number of comment lines to help developers of new subworkflow know where they need to edit files and add content. They typically have the following format:

// TODO nf-core: Make some kind of change to the workflow here

..or in markdown:

<!-- TODO nf-core: Add some detail to the docs here -->

This lint test runs through all files in the subworkflows and searches for these lines. If any are found they will throw a warning.

Note

Note that many GUI code editors have plugins to list all instances of TODO in a given project directory. This is a very quick and convenient way to get started on your pipeline!