Skip to content

Commit

Permalink
Fix CI with Nextflow 24.12.0-edge
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-plessy authored Jan 23, 2025
1 parent 53e3569 commit 11fd73f
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 @@ -215,14 +215,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 11fd73f

Please sign in to comment.