Merge branch 'master' into biomass-time-varying
This commit is contained in:
commit
4995138656
17
Snakefile
17
Snakefile
@ -73,12 +73,19 @@ rule all:
|
|||||||
|
|
||||||
|
|
||||||
rule purge:
|
rule purge:
|
||||||
message:
|
|
||||||
"Purging generated resources, results and docs. Downloads are kept."
|
|
||||||
run:
|
run:
|
||||||
rmtree("resources/", ignore_errors=True)
|
import builtins
|
||||||
rmtree("results/", ignore_errors=True)
|
|
||||||
rmtree("doc/_build", ignore_errors=True)
|
do_purge = builtins.input(
|
||||||
|
"Do you really want to delete all generated resources, \nresults and docs (downloads are kept)? [y/N] "
|
||||||
|
)
|
||||||
|
if do_purge == "y":
|
||||||
|
rmtree("resources/", ignore_errors=True)
|
||||||
|
rmtree("results/", ignore_errors=True)
|
||||||
|
rmtree("doc/_build", ignore_errors=True)
|
||||||
|
print("Purging generated resources, results and docs. Downloads are kept.")
|
||||||
|
else:
|
||||||
|
raise Exception(f"Input {do_purge}. Aborting purge.")
|
||||||
|
|
||||||
|
|
||||||
rule dag:
|
rule dag:
|
||||||
|
@ -25,6 +25,9 @@ Upcoming Release
|
|||||||
|
|
||||||
* In pathway mode, the biomass potential is linked to the investment year.
|
* In pathway mode, the biomass potential is linked to the investment year.
|
||||||
|
|
||||||
|
* Rule ``purge`` now initiates a dialog to confirm if purge is desired.
|
||||||
|
|
||||||
|
|
||||||
**Bugs and Compatibility**
|
**Bugs and Compatibility**
|
||||||
|
|
||||||
* A bug preventing custom powerplants specified in ``data/custom_powerplants.csv`` was fixed. (https://github.com/PyPSA/pypsa-eur/pull/732)
|
* A bug preventing custom powerplants specified in ``data/custom_powerplants.csv`` was fixed. (https://github.com/PyPSA/pypsa-eur/pull/732)
|
||||||
|
Loading…
Reference in New Issue
Block a user