modules
modules copied to clipboard
Module tutorial needs updating
Is your feature request related to a problem? Please describe
https://nf-co.re/docs/contributing/tutorials/dsl2_modules_tutorial
Current document shows old practises :
e.g.
// Import generic module functions
include { initOptions; saveFiles; getSoftwareName } from './functions'
params.options = [:]
options = initOptions(params.options)
Which gets an error with linting. Same with publishDir etc which I don't see in the recently made modules.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response