Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 21, 2024
1 parent 5a33886 commit 77a829f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ RESDIR = config["results_dir"].strip("/") + f"/{SECDIR}"
load_data_paths = get_load_paths_gegis("data", config)

if config["enable"].get("retrieve_cost_data", True):
COSTS = (
"resources/" + RDIR + f"costs_{config["costs"]["year"]}.csv"
)
COSTS = "resources/" + RDIR + f"costs_{config["costs"]["year"]}.csv"
else:
COSTS = "data/costs.csv"
ATLITE_NPROCESSES = config["atlite"].get("nprocesses", 4)
Expand Down Expand Up @@ -394,7 +392,7 @@ if config["enable"].get("retrieve_cost_data", True):

rule retrieve_cost_data:
params:
version=config['costs']['version'],
version=config["costs"]["version"],
input:
HTTP.remote(
"raw.githubusercontent.com/PyPSA/technology-data/{params.version}/outputs/costs_{year}.csv",
Expand Down

0 comments on commit 77a829f

Please sign in to comment.