Skip to content

Commit f226a6b

Browse files
author
Jon Vegard Venås
authored
Fix/missing header type (#46)
Add missing header type
1 parent 24f88a4 commit f226a6b

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

NEWS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Release notes
22

3+
## Version 0.6.2 (2025-12-18)
4+
5+
### Bugfix
6+
7+
* Fix missing header type for type `Int` used in the exported function `save_results` (e.g., for the variable `:discharge_segment` in `EnergyModelsRenewableProducers`).
8+
39
## Version 0.6.1 (2025-12-17)
410

511
### Enhancements

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "EnergyModelsGUI"
22
uuid = "737a7361-d3b7-40e9-b1ac-59bee4c5ea2d"
3-
version = "0.6.1"
3+
version = "0.6.2"
44
authors = ["Jon Vegard Venås <JonVegard.Venas@sintef.no>", "Dimitri Pinel <Dimitri.Pinel@sintef.no>", "Magnus Askeland <Magnus.Askeland@sintef.no>", "Shweta Tiwari <Shweta.Tiwari@sintef.no>"]
55

66
[deps]

src/utils_gen/utils.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ _type_to_header(::Type{<:TS.TimePeriod}) = :t
229229
_type_to_header(::Type{<:TS.TimeStructure}) = :t
230230
_type_to_header(::Type{<:Resource}) = :res
231231
_type_to_header(::Type{<:AbstractElement}) = :element
232+
_type_to_header(::Type{<:Int}) = :segment
232233

233234
"""
234235
save_results(model::Model; directory=joinpath(pwd(),"csv_files"))

0 commit comments

Comments
 (0)