modules icon indicating copy to clipboard operation
modules copied to clipboard

Module tutorial needs updating

Open chriswyatt1 opened this issue 1 year ago • 0 comments

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

chriswyatt1 avatar Oct 15 '22 13:10 chriswyatt1