Skip to content

Commit

Permalink
More fixes to multiple kw in single step
Browse files Browse the repository at this point in the history
  • Loading branch information
moyner committed Feb 9, 2024
1 parent d865979 commit 9ef9871
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/InputParser/keywords/schedule.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 9ef9871

Please sign in to comment.