Skip to content

Commit d08e454

Browse files
committed
Fix incorrect settings name
1 parent 2d5e717 commit d08e454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/muse/sectors/sector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def factory(cls, name: str, settings: Any) -> Sector:
3737
raise RuntimeError(f"Missing 'subsectors' section in sector {name}")
3838
if len(sector_settings["subsectors"]._asdict()) == 0:
3939
raise RuntimeError(f"Empty 'subsectors' section in sector {name}")
40-
interpolation_mode = sector_settings.pop("interpolation_mode", "linear")
40+
interpolation_mode = sector_settings.pop("interpolation", "linear")
4141

4242
# Read technologies
4343
technologies = read_technodata(

0 commit comments

Comments
 (0)