Skip to content

Commit

Permalink
Update nextflow.config
Browse files Browse the repository at this point in the history
Fix is a template change, see nf-core/tools#3416
If your pipeline is affected by this error I think it should be fine to manually apply this patch.
  • Loading branch information
sofstam authored Jan 23, 2025
1 parent 898866f commit ac960d4
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -340,14 +340,13 @@ env {
}

// Set bash options
process.shell = """\
bash
set -e # Exit if a tool returns a non-zero status/exit code
set -u # Treat unset variables and parameters as an error
set -o pipefail # Returns the status of the last command to exit with a non-zero status or zero if all successfully execute
set -C # No clobber - prevent output redirection from overwriting files.
"""
process.shell = [
"bash",
"-C", // No clobber - prevent output redirection from overwriting files.
"-e", // Exit if a tool returns a non-zero status/exit code
"-u", // Treat unset variables and parameters as an error
"-o pipefail" // Returns the status of the last command to exit with a non-zero status or zero if all successfully execute
]

// Disable process selector warnings by default. Use debug profile to enable warnings.
nextflow.enable.configProcessNamesValidation = false
Expand Down

0 comments on commit ac960d4

Please sign in to comment.