Jim Downie
09/21/2026, 8:48 AMDaniel Straub
09/21/2026, 9:02 AMNXF_VER=26.04.6 nextflow config -o json. With that info, is that still a potential issue with the input tuble? Because the pipeline itself runs fine (nextflow run ampliseq -profile test --outdir results).Jim Downie
09/21/2026, 9:06 AMtask is not wrapped in a closure?Daniel Straub
09/21/2026, 9:11 AMext.args = '--p-prv-cut 0.1 --p-lib-cut 500 --p-alpha 0.05 --p-conserve'
ext.prefix = { meta.region ? "region-${meta.region}_run-${meta.run}" : "${meta.run}" }
ext.quality_type = { "${params.quality_type}" }
where the first isnt in a closure, is that needed now?Jim Downie
09/21/2026, 9:11 AMtask , meta, etc.Jim Downie
09/21/2026, 9:11 AMDaniel Straub
09/21/2026, 9:19 AMtask. outside of a closure. The AI also says that for modules.config "In all cases task.process sits inside a { ... } closure bound to the path: key." & base.config "confirming task. only appears where a closure is used."...Daniel Straub
09/21/2026, 9:24 AMNXF_VER=25.10.7 nextflow config -o json -> success
NXF_VER=26.04.6 nextflow config -o json -> ERROR ~ No such variable: task
NXF_VER=26.07.0-edge nextflow config -o json -> ERROR ~ No such variable: task
NXF_VER=26.08.0-edge nextflow config -o json -> successJim Downie
09/21/2026, 9:25 AMJim Downie
09/21/2026, 9:25 AMDaniel Straub
09/21/2026, 9:34 AMwithName: 'GAPPA_GRAFT' {
ext.prefix = { "${meta.id}.graft" }
publishDir = [
[
path: { "${params.outdir}/pplace" },
mode: params.publish_dir_mode,
pattern: "*.newick"
],
[
path: { "${params.outdir}/pplace/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename ? (filename == 'versions.yml' ? null : filename) : null }
]
]
}
withName: 'GAPPA_ASSIGN' {
ext.prefix = { "${meta.id}.taxonomy" }
ext.args = "--per-query-results --krona --sativa"
ext.when = { taxonomy }
publishDir = [
[
path: { "${params.outdir}/pplace" },
mode: params.publish_dir_mode,
pattern: "*.taxonomy.per_query.tsv"
],
[
path: { "${params.outdir}/pplace/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename ? (filename == 'versions.yml' ? null : filename) : null }
]
]
}
withName: 'GAPPA_HEATTREE' {
ext.prefix = { "${meta.id}.heattree" }
ext.args = "--write-nexus-tree --write-phyloxml-tree --write-svg-tree"
publishDir = [
[
path: { "${params.outdir}/pplace" },
mode: params.publish_dir_mode,
pattern: "*.tree.svg"
],
[
path: { "${params.outdir}/pplace/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename ? (filename == 'versions.yml' ? null : filename) : null }
]
]
}
investigating...Jim Downie
09/21/2026, 9:35 AMJim Downie
09/21/2026, 9:35 AMpath: { task ? "${params.outdir}/pplace/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" : null },Jim Downie
09/21/2026, 9:36 AMDaniel Straub
09/21/2026, 9:38 AMJim Downie
09/21/2026, 9:39 AMDaniel Straub
09/21/2026, 1:36 PM