Skip to content

Commit

Permalink
fix: don't use labels starting with process_ for output dir paths
Browse files Browse the repository at this point in the history
  • Loading branch information
kelly-sovacool committed Sep 7, 2023
1 parent 47fc0d6 commit ae12574
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
process {

publishDir = [
path: { task.label ? "${params.outdir}/${task.label.join('/')}/${task.process.tokenize(':')[-1].toLowerCase()}" : "${params.outdir}/${task.process.tokenize(':')[-1].toLowerCase()}" },
path: { task.label ? "${params.outdir}/${task.label.findAll { !it.startsWith('process_') }.join('/')}/${task.process.tokenize(':')[-1].toLowerCase()}" : "${params.outdir}/${task.process.tokenize(':')[-1].toLowerCase()}" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
Expand Down
1 change: 1 addition & 0 deletions modules/local/qc.nf
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ process FASTQC {
process FASTQ_SCREEN {
tag { meta.id }
label 'qc'
label 'process_low'

input:
tuple val(meta), path(fastq), path(conf)
Expand Down

0 comments on commit ae12574

Please sign in to comment.