Merge pull request #435 from aodenweller/bugfix_make_summary

Fix network directory path in make_summary
This commit is contained in:
Fabian Neumann 2022-10-25 15:35:44 +02:00 committed by GitHub
commit 6d13b40ab7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -556,9 +556,13 @@ if __name__ == "__main__":
opts="Co2L-24H",
country="all",
)
network_dir = os.path.join("..", "results", "networks")
network_dir = os.path.join(
"..", "results", "networks", snakemake.config["run"]["name"]
)
else:
network_dir = os.path.join("results", "networks")
network_dir = os.path.join(
"results", "networks", snakemake.config["run"]["name"]
)
configure_logging(snakemake)
config = snakemake.config