Skip to content

Commit

Permalink
Add 'ext capture_logs: false' to all processes
Browse files Browse the repository at this point in the history
  • Loading branch information
nwiltsie committed May 20, 2024
1 parent 4597ebc commit 0b58ef9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
3 changes: 3 additions & 0 deletions modules/PipeVal/generate-checksum/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ process generate_checksum_PipeVal {
pattern: "*.${options.checksum_alg}",
mode: "copy"

// This process uses the publishDir method to save the log files
ext capture_logs: false

input:
path(input_file)

Expand Down
3 changes: 3 additions & 0 deletions modules/PipeVal/validate/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ process run_validate_PipeVal {
mode: "copy",
saveAs: { "${task.process.split(':')[-1]}/${task.process.split(':')[-1]}-${task.index}/log${file(it).getName()}" }

// This process uses the publishDir method to save the log files
ext capture_logs: false

input:
path(file_to_validate)

Expand Down
5 changes: 4 additions & 1 deletion modules/common/extract_genome_intervals/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ process extract_GenomeIntervals {
pattern: ".command.*",
saveAs: { "${task.process.replace(':', '/')}/log${file(it).getName()}" }

// This process uses the publishDir method to save the log files
ext capture_logs: false

input:
path(reference_dict)

Expand All @@ -42,4 +45,4 @@ process extract_GenomeIntervals {
sed -e 's/SN://g' \
> genomic_intervals.list
"""
}
}
3 changes: 3 additions & 0 deletions modules/common/intermediate_file_removal/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ process remove_intermediate_files {
mode: "copy",
saveAs: { "${task.process.split(':')[-1]}/${task.process.split(':')[-1]}-${task.index}/log${file(it).getName()}" }

// This process uses the publishDir method to save the log files
ext capture_logs: false

input:
path(input_file_to_remove), stageAs: "delete.file"
val(ready_for_deletion_signal)
Expand Down

0 comments on commit 0b58ef9

Please sign in to comment.