Skip to content

Output variables for unexisting node types now OK (can appear after i… #247

Output variables for unexisting node types now OK (can appear after i…

Output variables for unexisting node types now OK (can appear after i… #247

Triggered via push July 22, 2024 16:15
Status Failure
Total duration 6m 54s
Artifacts

CI.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Julia 1.9 - ubuntu-latest - x64 - push
Process completed with exit code 1.
Julia 1.9 - macOS-latest - x64 - push
Process completed with exit code 1.
Julia 1 - ubuntu-latest - x64 - push
Process completed with exit code 1.
Julia 1 - macOS-latest - x64 - push
Process completed with exit code 1.
Julia 1 - windows-latest - x64 - push
Process completed with exit code 1.
Julia 1.9 - windows-latest - x64 - push
Process completed with exit code 1.
Documentation: src/mtg/save_results.jl#L88
doctest failure in ~/work/PlantSimEngine.jl/PlantSimEngine.jl/src/mtg/save_results.jl:88-90 ```jldoctest mylabel julia> preallocated_vars = PlantSimEngine.pre_allocate_outputs(statuses, outs, 2); ``` Subexpression: preallocated_vars = PlantSimEngine.pre_allocate_outputs(statuses, outs, 2); Evaluated output: ERROR: MethodError: no method matching pre_allocate_outputs(::Dict{String, Vector{Status}}, ::Dict{String, Tuple{Symbol, Vararg{Symbol}}}, ::Int64) Closest candidates are: pre_allocate_outputs(::Any, ::Any, ::Any, !Matched::Any, !Matched::Any, !Matched::Any; type_promotion, check) @ PlantSimEngine ~/work/PlantSimEngine.jl/PlantSimEngine.jl/src/mtg/save_results.jl:112 pre_allocate_outputs(::Any, !Matched::Nothing, ::Any; check) @ PlantSimEngine ~/work/PlantSimEngine.jl/PlantSimEngine.jl/src/mtg/save_results.jl:187 Stacktrace: [1] top-level scope @ none:1 Expected output: diff = Warning: Diff output requires color. ERROR: MethodError: no method matching pre_allocate_outputs(::Dict{String, Vector{Status}}, ::Dict{String, Tuple{Symbol, Vararg{Symbol}}}, ::Int64) Closest candidates are: pre_allocate_outputs(::Any, ::Any, ::Any, !Matched::Any, !Matched::Any, !Matched::Any; type_promotion, check) @ PlantSimEngine ~/work/PlantSimEngine.jl/PlantSimEngine.jl/src/mtg/save_results.jl:112 pre_allocate_outputs(::Any, !Matched::Nothing, ::Any; check) @ PlantSimEngine ~/work/PlantSimEngine.jl/PlantSimEngine.jl/src/mtg/save_results.jl:187 Stacktrace: [1] top-level scope @ none:1
Documentation: src/mtg/save_results.jl#L94
doctest failure in ~/work/PlantSimEngine.jl/PlantSimEngine.jl/src/mtg/save_results.jl:94-99 ```jldoctest mylabel julia> collect(keys(preallocated_vars)) 2-element Vector{String}: "Soil" "Leaf" ``` Subexpression: collect(keys(preallocated_vars)) Evaluated output: ERROR: UndefVarError: `preallocated_vars` not defined Stacktrace: [1] top-level scope @ none:1 Expected output: 2-element Vector{String}: "Soil" "Leaf" diff = Warning: Diff output requires color. 2-element Vector{String}: "Soil" "Leaf"ERROR: UndefVarError: `preallocated_vars` not defined Stacktrace: [1] top-level scope @ none:1
Documentation: src/mtg/save_results.jl#L104
doctest failure in ~/work/PlantSimEngine.jl/PlantSimEngine.jl/src/mtg/save_results.jl:104-110 ```jldoctest mylabel julia> collect(keys(preallocated_vars["Leaf"])) 3-element Vector{Symbol}: :carbon_assimilation :node :carbon_demand ``` Subexpression: collect(keys(preallocated_vars["Leaf"])) Evaluated output: ERROR: UndefVarError: `preallocated_vars` not defined Stacktrace: [1] top-level scope @ none:1 Expected output: 3-element Vector{Symbol}: :carbon_assimilation :node :carbon_demand diff = Warning: Diff output requires color. 3-element Vector{Symbol}: :carbon_assimilation :node :carbon_demandERROR: UndefVarError: `preallocated_vars` not defined Stacktrace: [1] top-level scope @ none:1
Documentation
Process completed with exit code 1.