Skip to content

Commit e54bdd3

Browse files
author
Jon Vegard Venås
committed
Fix introduced bugs
1 parent d121516 commit e54bdd3

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
* Use `Downloads` instead of `HTTP` to download `.geojson` files. This resolves warning and uses a standard julia library that is faster to load.
1616
* Cleaned up `test/case7.jl`.
17+
* Add a white background to `.svg`-files.
1718

1819
## Version 0.6.2 (2025-12-18)
1920

src/setup_GUI.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ function create_makie_objects(vars::Dict, design::EnergySystemDesign)
343343

344344
# Download the file if it doesn't exist in the temporary directory
345345
if !isfile(local_file_path)
346-
download(url, local_file_path)
346+
Downloads.download(url, local_file_path)
347347
end
348348

349349
# Now read the data from the file

test/test_interactivity.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ root_design = get_root_design(gui)
55
components = get_components(root_design)
66
connections = get_connections(root_design)
77

8-
area1 = get_component(components, 1)
9-
area2 = get_component(components, 2)
10-
area3 = get_component(components, 3)
11-
area4 = get_component(components, 4)
8+
area1 = get_component(components, "area1")
9+
area2 = get_component(components, "area2")
10+
area3 = get_component(components, "area3")
11+
area4 = get_component(components, "area4")
1212

1313
time_menu = get_menu(gui, :time)
1414
available_data_menu = get_menu(gui, :available_data)

0 commit comments

Comments
 (0)