Skip to content
Snippets Groups Projects
Commit 7dc8de24 authored by Pierre Tysebaert-Plagne's avatar Pierre Tysebaert-Plagne
Browse files

Fix config_file key

parent 77e12820
No related branches found
No related tags found
1 merge request!96Resolve "Add configuration file in the outpout directory"
......@@ -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}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment