Running nf-core lint on certain pipelines returns Non-standard labels found: error_retry even though the error_retry label is defined in conf/base.conf.
This behaviour only appears when the modules that have the error_retry label are structured as single .nf file in the modules directory (e.g. modules/local/force-mosaic.nf).
The warning does not appear for modules that are structured using a directory that contains a main.nf file (e.g. modules/local/force-mosaic/main.nf).
An example where this behaviour appears is the rangeland pipeline.
Hi @Felix-Kummer, thanks for reporting. This linting test checks the nf-core standard labels. We should skip the tests for local modules, as you can add custom labels as in your case.
Description of the bug
Running
nf-core lint
on certain pipelines returnsNon-standard labels found: error_retry
even though theerror_retry
label is defined inconf/base.conf
. This behaviour only appears when the modules that have theerror_retry
label are structured as single.nf
file in the modules directory (e.g.modules/local/force-mosaic.nf
). The warning does not appear for modules that are structured using a directory that contains amain.nf
file (e.g.modules/local/force-mosaic/main.nf
). An example where this behaviour appears is the rangeland pipeline.Command used and terminal output
System information
nextflow version 24.04.4.5917 nf-core/tools version 2.14.1 Local executor on Ubuntu Linux