Skip to content

Commit

Permalink
fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
Elisa-Visentin committed Aug 13, 2024
1 parent 4acd21c commit 7f91349
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,11 @@ def config_file_gen(target_dir, source_name, config_gen):
config_file, "rb"
) as fc: # "rb" mode opens the file in binary format for reading
config_dict = yaml.safe_load(fc)
LST_config = config_dict["LST"]
MAGIC_config = config_dict["MAGIC"]

conf = {
"mc_tel_ids": config_gen["mc_tel_ids"],
"LST": LST_config,
"MAGIC": MAGIC_config,
"LST": config_dict["LST"],
"MAGIC": config_dict["MAGIC"],
}

file_name = f"{target_dir}/v{__version__}/{source_name}/config_DL0_to_DL1.yaml"
Expand Down

0 comments on commit 7f91349

Please sign in to comment.