From 715e29ceb78e3776e4fa2fc2b5116b6dac3c6260 Mon Sep 17 00:00:00 2001 From: lukas leufen <l.leufen@fz-juelich.de> Date: Tue, 5 Oct 2021 14:04:49 +0200 Subject: [PATCH] only reset bootstrap_skill_scores on iteration 0 --- mlair/run_modules/post_processing.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mlair/run_modules/post_processing.py b/mlair/run_modules/post_processing.py index 4387f359..265372cf 100644 --- a/mlair/run_modules/post_processing.py +++ b/mlair/run_modules/post_processing.py @@ -155,7 +155,8 @@ class PostProcessing(RunEnvironment): :param _iter: internal counter to reduce unnecessary recursive calls (maximum number is 2, otherwise something went wrong). """ - self.bootstrap_skill_scores = {} + if _iter == 0: + self.bootstrap_skill_scores = {} for boot_type in to_list(bootstrap_type): self.bootstrap_skill_scores[boot_type] = {} for boot_method in to_list(bootstrap_method): -- GitLab