From 7dc8de2432b962a8559492db30ad85a6696b0493 Mon Sep 17 00:00:00 2001 From: pty <pierre.tysebaert@thalesgroup.com> Date: Fri, 1 Jul 2022 17:14:57 +0200 Subject: [PATCH] Fix config_file key --- python/s2snow/fsc_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/s2snow/fsc_config.py b/python/s2snow/fsc_config.py index 88801633..762d99af 100755 --- a/python/s2snow/fsc_config.py +++ b/python/s2snow/fsc_config.py @@ -563,7 +563,7 @@ class FscConfig: def dump_configuration(self, dump_path, config_file, input_dir, log, chain_version, product_counter): # Get the fields as a dictionary - conf_keys = ["dem", "tcd", "water_mask", "config_file"] + conf_keys = ["dem", "tcd", "water_mask"] key_translation = {"tcd": "tcd_file", "water_mask": "water_mask_path"} full_data = vars(self) data = {key: full_data[key_translation.get(key, key)] for key in conf_keys} -- GitLab