Skip to content

Commit

Permalink
Add 'ext capture_logs: false' to remaining processes
Browse files Browse the repository at this point in the history
  • Loading branch information
sorelfitzgibbon committed Oct 17, 2024
1 parent 1cfa9fa commit 9f07b9f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Set `ext.capture_logs` to false for all processes to disable new `setup_process_afterscript()` behavior.
- Change PipeVal command since the interface was changed.
- Change indexFile to support cram format type
- Set `ext.capture_logs` to false for `index_VCF_tabix` processes
12 changes: 12 additions & 0 deletions modules/common/index_VCF_tabix/modules.nf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ process check_compression_bgzip {
pattern: ".command.*",
saveAs: { "${task.process.replace(':', '/')}-${id}/log${file(it).getName()}" }

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

input:
tuple val(id), path(file_to_check)

Expand Down Expand Up @@ -59,6 +62,9 @@ process uncompress_file_gunzip {
pattern: ".command.*",
saveAs: { "${task.process.replace(':', '/')}-${id}/log${file(it).getName()}" }

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

input:
tuple val(id), path(file_to_uncompress)

Expand Down Expand Up @@ -103,6 +109,9 @@ process compress_VCF_bgzip {
pattern: ".command.*",
saveAs: { "${task.process.replace(':', '/')}-${id}/log${file(it).getName()}" }

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

input:
tuple val(id), path(file_to_compress)

Expand Down Expand Up @@ -144,6 +153,9 @@ process index_VCF_tabix {
mode: "copy",
pattern: ".command.*",
saveAs: { "${task.process.replace(':', '/')}-${id}/log${file(it).getName()}" }

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

input:
tuple val(id), path(file_to_index)
Expand Down

0 comments on commit 9f07b9f

Please sign in to comment.