Skip to content

Commit

Permalink
Merge pull request #790 from davide-f/fix_snakemake_windows
Browse files Browse the repository at this point in the history
bugfix: Fix admin needs for windows
  • Loading branch information
davide-f authored Jul 16, 2023
2 parents ea30382 + 7b44631 commit 33c69da
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
*.pbf
*.zip
*.png
*.done

# Untracked files
config.yaml
Expand Down
2 changes: 1 addition & 1 deletion Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ if config["monte_carlo"]["options"].get("add_to_snakefile", False) == False:
resources:
mem=memory,
shadow:
"shallow"
"copy-minimal" if os.name == "nt" else "shallow"
script:
"scripts/solve_network.py"

Expand Down
2 changes: 1 addition & 1 deletion envs/environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
- pip
- mamba # esp for windows build

- pypsa>=0.23, <0.25
- pypsa>=0.24, <0.25
# - atlite>=0.2.4 # until https://github.com/PyPSA/atlite/issues/244 is not merged
- dask
- powerplantmatching>=0.5.7
Expand Down
Empty file removed tests.done
Empty file.

0 comments on commit 33c69da

Please sign in to comment.