From 89dbb6cf5b7fcf71d7e9faf7453912fd45e73564 Mon Sep 17 00:00:00 2001 From: Bruno Grande Date: Tue, 23 Feb 2021 22:31:07 -0800 Subject: [PATCH 1/2] Retry tasks with exit code 247 for added memory --- conf/base.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/base.config b/conf/base.config index c7392fdf62..522e778fc1 100644 --- a/conf/base.config +++ b/conf/base.config @@ -15,7 +15,7 @@ process { time = {check_resource(24.h * task.attempt)} shell = ['/bin/bash', '-euo', 'pipefail'] - errorStrategy = { task.exitStatus in [143,137,104,134,139] ? 'retry' : 'finish' } + errorStrategy = { task.exitStatus in [143,137,104,134,139,247] ? 'retry' : 'finish' } maxErrors = '-1' maxRetries = 3 From 1cc5cebd95d4d01c6426d02b0677674c252a9528 Mon Sep 17 00:00:00 2001 From: Bruno Grande Date: Tue, 23 Feb 2021 22:41:29 -0800 Subject: [PATCH 2/2] Mention new exit code in CHANGELOG --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3db854e7a0..9419a1c329 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [dev](https://github.com/nf-core/sarek/tree/dev) + +### Added + +- [#353](https://github.com/nf-core/sarek/pull/353) - Add support for task retries with exit code 247 (exhibited by Picard MarkDuplicates) + ## [2.7](https://github.com/nf-core/sarek/releases/tag/2.7) - Pårte Pårte is one of the main massif in the Sarek National Park.