Skip to content

Commit a302b27

Browse files
committed
fix: read correct cost file in modify_prenetwork
1 parent d7e0c3d commit a302b27

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Snakefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -670,9 +670,7 @@ rule modify_prenetwork:
670670
if config_provider("wasserstoff_kernnetz", "enable")(w)
671671
else []
672672
),
673-
costs=lambda w: resources(
674-
f"costs_{config_provider("scenario", "planning_horizons",0)(w)}_processed.csv"
675-
),
673+
costs=resources("costs_{planning_horizons}_processed.csv"),
676674
modified_mobility_data=resources(
677675
"modified_mobility_data_{clusters}_{planning_horizons}.csv"
678676
),

0 commit comments

Comments
 (0)