copy_config: ensure to store updated config
This commit is contained in:
parent
3462080b89
commit
5036964dbe
@ -13,10 +13,12 @@ import yaml
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
if "snakemake" not in globals():
|
if "snakemake" not in globals():
|
||||||
from _helpers import mock_snakemake
|
from _helpers import mock_snakemake, set_scenario_config
|
||||||
|
|
||||||
snakemake = mock_snakemake("copy_config")
|
snakemake = mock_snakemake("copy_config")
|
||||||
|
|
||||||
|
set_scenario_config(snakemake)
|
||||||
|
|
||||||
with open(snakemake.output[0], "w") as yaml_file:
|
with open(snakemake.output[0], "w") as yaml_file:
|
||||||
yaml.dump(
|
yaml.dump(
|
||||||
snakemake.config,
|
snakemake.config,
|
||||||
|
Loading…
Reference in New Issue
Block a user