Merge pull request #979 from PyPSA/fix-snakemake-bug

replace value of shadow in snakemake rules
This commit is contained in:
Fabian Neumann 2024-03-19 17:11:09 +01:00 committed by GitHub
commit 0b0baa662e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,7 +31,7 @@ rule solve_network:
mem_mb=memory, mem_mb=memory,
runtime=config_provider("solving", "runtime", default="6h"), runtime=config_provider("solving", "runtime", default="6h"),
shadow: shadow:
"minimal" "shallow"
conda: conda:
"../envs/environment.yaml" "../envs/environment.yaml"
script: script:
@ -62,7 +62,7 @@ rule solve_operations_network:
mem_mb=(lambda w: 10000 + 372 * int(w.clusters)), mem_mb=(lambda w: 10000 + 372 * int(w.clusters)),
runtime=config_provider("solving", "runtime", default="6h"), runtime=config_provider("solving", "runtime", default="6h"),
shadow: shadow:
"minimal" "shallow"
conda: conda:
"../envs/environment.yaml" "../envs/environment.yaml"
script: script: