-
Notifications
You must be signed in to change notification settings - Fork 223
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Using the latest code on dev (ab8ca2e)
- Run
nf-core createand customise the template to NOT include nf-core/configs - Run
nextflow run . -profile test,docker --outdir ./resultsin the newly created pipeline - The warning below will be generated:
$ nextflow run . -profile test,docker --outdir ./results
N E X T F L O W ~ version 23.04.1
Launching `./main.nf` [cheesy_bartik] DSL2 - revision: f334315f42
WARN: The following invalid input values have been detected:
* --config_profile_name: Test profile
* --config_profile_description: Minimal test dataset to check pipeline function
* --fasta: https://raw.githubusercontent.com/nf-core/test-datasets/viralrecon/genome/NC_045512.2/GCF_009858895.2_ASM985889v3_genomic.200409.fna.gz
This is because the following parameters are excluded from the template if nf-core/configs aren'part of the template:
tools/nf_core/pipeline-template/nextflow.config
Lines 44 to 54 in 0912990
| {% if nf_core_configs %} | |
| // Config options | |
| custom_config_version = 'master' | |
| custom_config_base = "https://raw.githubusercontent.com/nf-core/configs/${params.custom_config_version}" | |
| config_profile_description = null | |
| config_profile_contact = null | |
| config_profile_url = null | |
| config_profile_name = null | |
| {% endif %} |
The warning is being generated for --fasta because I also chose to exclude igenomes from the template which means this isn't there:
tools/nf_core/pipeline-template/main.nf
Lines 15 to 23 in 0912990
| {% if igenomes %} | |
| /* | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| GENOME PARAMETER VALUES | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| */ | |
| params.fasta = WorkflowMain.getGenomeAttribute(params, 'fasta') | |
| {% endif %} |
We need to change that block to include these parameters because they are still used in the test configs.
maxulysse
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working