From 1dd3ece4b60b6d37e5083d39048713c994dafdc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Vegard=20Ven=C3=A5s?= Date: Fri, 6 Jun 2025 10:38:19 +0200 Subject: [PATCH 1/3] Only give model warning if not empty --- src/utils_GUI/GUI_utils.jl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/utils_GUI/GUI_utils.jl b/src/utils_GUI/GUI_utils.jl index f1c2520..2a8720d 100644 --- a/src/utils_GUI/GUI_utils.jl +++ b/src/utils_GUI/GUI_utils.jl @@ -388,7 +388,9 @@ function initialize_available_data!(gui) end get_ax(gui, :summary).scene.plots[1][1][] = investment_overview else - @warn "Total quantities were not computed as model does not contain a feasible solution" + if !isempty(model) + @warn "Total quantities were not computed as model does not contain a feasible solution" + end end # Add case input data From c5478506fc0f810c96ed5597cb16bbed0f1a8fc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Vegard=20Ven=C3=A5s?= Date: Wed, 25 Jun 2025 11:23:53 +0200 Subject: [PATCH 2/3] Fix bug from breaking changes in GeoMakie v0.7.13 on Windows. --- Project.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index cb72484..f3fa91c 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "EnergyModelsGUI" uuid = "737a7361-d3b7-40e9-b1ac-59bee4c5ea2d" authors = ["Jon Vegard VenĂ¥s ", "Magnus Askeland ", "Shweta Tiwari "] -version = "0.5.13" +version = "0.5.14" [deps] CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0" @@ -40,7 +40,7 @@ EnergyModelsInvestments = "0.8" FileIO = "1.16" GLMakie = "0.10.5" GeoJSON = "0.8" -GeoMakie = "0.7.3" +GeoMakie = "=0.7.12" HTTP = "1.10" ImageMagick = "1.3" JuMP = "1.22" From 401a73cbbd5bbd807cbd919c1e1bdfec22cc07b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Vegard=20Ven=C3=A5s?= Date: Wed, 25 Jun 2025 11:48:04 +0200 Subject: [PATCH 3/3] Update NEWS.md --- NEWS.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/NEWS.md b/NEWS.md index 5c3cec2..2ff4902 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,12 @@ # Release notes +## Version 0.5.14 (2025-06-25) + +### Bugfix + +* Fix bug from breaking changes in GeoMakie v0.7.13 on Windows. +* Don't show warning for unfeasible JuMP solution when the provided model is empty. + ## Version 0.5.13 (2025-06-02) ### Bugfix