Skip to content

Commit

Permalink
Merge pull request #989 from PyPSA/share-resources
Browse files Browse the repository at this point in the history
scenario management: fix shared resources
  • Loading branch information
FabianHofmann authored Mar 25, 2024
2 parents 91e0087 + a725844 commit 60fe95d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def get_run_path(fn, dir, rdir, shared_resources):
elif isinstance(shared_resources, str):
rdir = shared_resources + "/"
elif isinstance(shared_resources, bool):
rdir = ""
rdir = "" if shared_resources else rdir
else:
raise ValueError(
"shared_resources must be a boolean, str, or 'base' for special handling."
Expand Down

0 comments on commit 60fe95d

Please sign in to comment.