Skip to content

Commit 9dd62c1

Browse files
authored
Merge branch 'dev' into shannon-entropy
2 parents 3f0a08a + d7f8178 commit 9dd62c1

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Initial release of Joon-Klaps/viralgenie, created with the [nf-core](https://nf-
3030
- fixing null output from global prefix ([#147](https://github.com/Joon-Klaps/viralgenie/pull/147))
3131
- Fix empty filtered clusters ([#148](https://github.com/Joon-Klaps/viralgenie/pull/148))
3232
- Fixing missing columns from general stats & add general stats sample filtering ([#149](https://github.com/Joon-Klaps/viralgenie/pull/149))
33+
- process.shell template fix ([#157](https://github.com/Joon-Klaps/viralgenie/pull/157)) - see also [nf-core/tools #3416](https://github.com/nf-core/tools/pull/3416)
3334

3435
### `Parameters`
3536
- New parameter mmseqs_cluster_mode default to 0 ([#130](https://github.com/Joon-Klaps/viralgenie/pull/130))

nextflow.config

+8-8
Original file line numberDiff line numberDiff line change
@@ -344,14 +344,14 @@ env {
344344
}
345345

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

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

0 commit comments

Comments
 (0)