Skip to content

Commit fb53e0a

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent eb2fbe5 commit fb53e0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pvnet/models/base_model.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ def make_clean_data_config(input_path, output_path, placeholder="PLACEHOLDER"):
6262

6363
if "nwp" in config["input_data"]:
6464
for source in config["input_data"]["nwp"]:
65-
if config["input_data"]["nwp"][source][f"nwp_zarr_path"] != "":
66-
config["input_data"]["nwp"][source][f"nwp_zarr_path"] = f"{placeholder}.zarr"
65+
if config["input_data"]["nwp"][source]["nwp_zarr_path"] != "":
66+
config["input_data"]["nwp"][source]["nwp_zarr_path"] = f"{placeholder}.zarr"
6767

6868
if "pv" in config["input_data"]:
6969
for d in config["input_data"]["pv"]["pv_files_groups"]:

0 commit comments

Comments
 (0)