From 9ef98718104020b80cf4ac77f4136858eb2be693 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olav=20M=C3=B8yner?= Date: Fri, 9 Feb 2024 14:22:10 +0100 Subject: [PATCH] More fixes to multiple kw in single step --- src/InputParser/keywords/schedule.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/InputParser/keywords/schedule.jl b/src/InputParser/keywords/schedule.jl index c750958..4eedd30 100644 --- a/src/InputParser/keywords/schedule.jl +++ b/src/InputParser/keywords/schedule.jl @@ -318,14 +318,14 @@ function parse_keyword!(data, outer_data, units, cfg, f, ::Val{:WELLSTRE}) end @assert sum ≈ 1.0 "Compositions in well stream $(r[1]) defined by WELLSTRE must sum up to one (was $sum)" end - data["WELLSTRE"] = rec + push_and_create!(data, "WELLSTRE", rec) end function parse_keyword!(data, outer_data, units, cfg, f, ::Val{:WINJGAS}) defaults = ["Default", "GRUP", "Default", "Default", 0] wells = get_wells(outer_data) d = parse_defaulted_group_well(f, defaults, wells, 1) - data["WINJGAS"] = d + push_and_create!(data, "WINJGAS", d) end