diff --git a/python/s2snow/fsc_config.py b/python/s2snow/fsc_config.py index 1cb000b5e88a6f89c48e8c29056b7dbbfc42b64a..05f92fb1b4812c187fe40f81553dc354dc5a039e 100755 --- a/python/s2snow/fsc_config.py +++ b/python/s2snow/fsc_config.py @@ -564,7 +564,7 @@ class FscConfig: def dump_configuration(self, dump_path, input_dir, log, chain_version, product_counter): # Get the fields as a dictionary conf_keys = ["dem", "tcd", "water_mask", "config_file"] - key_translation = {"tcd", "tcd_file"} + key_translation = {"tcd": "tcd_file"} full_data = vars(self) data = {key: full_data[key_translation.get(key, key)] for key in conf_keys} data["output_dir"] = dump_path