copy_config: ensure to store updated config

This commit is contained in:
Fabian 2023-08-15 15:49:57 +02:00
parent 3462080b89
commit 5036964dbe

View File

@ -13,10 +13,12 @@ import yaml
if __name__ == "__main__":
if "snakemake" not in globals():
from _helpers import mock_snakemake
from _helpers import mock_snakemake, set_scenario_config
snakemake = mock_snakemake("copy_config")
set_scenario_config(snakemake)
with open(snakemake.output[0], "w") as yaml_file:
yaml.dump(
snakemake.config,