Closed mahesh-panchal closed 6 years ago
Argh, I just understood why this error occurs from writing this.
The test profile is written in the config file before the other two, creating the error. Moving it to after, fixes the issue and the strings are correctly resolved.
Corrected config file:
profiles {
// default profile
standard {
process.executor = 'local'
}
// Cluster settings: Usage - nextflow run workflow.nf -profile cluster,rackham,test_data
cluster {
params {
// Workflow settings.
project = 'snic2018-8-34'
clusterOptions = '-t 1:00:00'
output_dir = './NBIS-results'
}
timeline {
enabled = true
file = "${params.output_dir}/pipeline_info/NBIS-workflow_timeline.html"
}
report {
enabled = true
file = "${params.output_dir}/pipeline_info/NBIS-workflow_report.html"
}
trace {
enabled = true
file = "${params.output_dir}/pipeline_info/NBIS-workflow_trace.txt"
}
dag {
enabled = true
file = "${params.output_dir}/pipeline_info/NBIS-workflow_DAG.svg"
}
}
rackham {
includeConfig 'cluster_rackham.conf'
}
// Project data settings
test_data {
includeConfig 'test_data.conf'
}
}
Hi Paolo,
I have a case here where parameter merging is not working but I do not understand why, and cannot recreate the issue in other toy examples.
In this example
params.busco_lineages
fromtest.conf
is not fully resolved, even thoughparams.busco_lineages_home
is set incluster_rackham.conf
.The config files causing the issue are: nextflow.config:
cluster_rackham.conf
test_data.conf
I tried making a simpler toy case as follows, but I cannot recreate the issue as it occurs in the config above.
In this example, the strings expand correctly: