files_exist
PipelineLint.files_exist()
Checks a given pipeline directory for required files.
Iterates through the pipeline’s directory content and checks that specified files are either present or absent, as required.
This test raises an AssertionError
if neither nextflow.config
or main.nf
are found.
If these files are not found then this cannot be a Nextflow pipeline and something has gone badly wrong.
All lint tests are stopped immediately with a critical error message.
Files that must be present:
Files that should be present:
Files that must not be present, due to being renamed or removed in the template:
Files that should not be present:
You can configure the nf-core lint
tests to ignore any of these checks by setting
the files_exist
key as follows in your .nf-core.yml
config file. For example:
lint: : files_exist: : - assets/multiqc_config.yml