Skip to content

Commit

Permalink
Fix for OteraEngine v1 (#1991)
Browse files Browse the repository at this point in the history
Fixes the codegen CI that broke with the update from #1989.
  • Loading branch information
visr authored Jan 2, 2025
1 parent 410235d commit ac610c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/gen_python.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ model_template = Template(

# Write schemas.py
open(normpath(@__DIR__, "..", "python", "ribasim", "ribasim", "schemas.py"), "w") do io
init = Dict("models" => get_models())
init = Dict(:models => get_models())
println(io, model_template(; init = init))
end

Expand All @@ -75,6 +75,6 @@ connection_template = Template(

# Write validation.py
open(normpath(@__DIR__, "..", "python", "ribasim", "ribasim", "validation.py"), "w") do io
init = Dict("nodes" => get_connectivity())
init = Dict(:nodes => get_connectivity())
println(io, connection_template(; init = init))
end

0 comments on commit ac610c2

Please sign in to comment.