prepare_perfect: ensure network.meta assignment
This commit is contained in:
parent
f6f18e1868
commit
c983aa7d2d
@ -537,5 +537,8 @@ if __name__ == "__main__":
|
||||
# set carbon constraints
|
||||
n = set_carbon_constraints(n)
|
||||
|
||||
# update meta
|
||||
n.meta = dict(snakemake.config, **dict(wildcards=dict(snakemake.wildcards)))
|
||||
|
||||
# export network
|
||||
n.export_to_netcdf(snakemake.output[0])
|
||||
|
Loading…
Reference in New Issue
Block a user