add correction to run without tests #41
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
without this fix running:
julia --project integration_tests/utils/generate_namelist.jl Soares
julia --project integration_tests/utils/main.jl Soares
breaks with:
"""""
ERROR: LoadError: KeyError: key "uuid" not found
Stacktrace:
[1] getindex(h::Dict{String, Any}, key::String)
@ Base ./dict.jl:482
[2] TurbulenceConvection.NetCDFIO_Stats(namelist::Dict{String, Any}, Gr::TurbulenceConvection.Grid{OffsetArrays.OffsetVector{Float64, Vector{Float64}}, Float64})
@ TurbulenceConvection ~/Documents/codes/TurbulenceConvection.jl/src/NetCDFIO.jl:29
[3] Simulation1d(namelist::Dict{String, Any})
@ Main ~/Documents/codes/TurbulenceConvection.jl/integration_tests/utils/main.jl:27
[4] main1d(namelist::Dict{String, Any}; time_run::Bool)
@ Main ~/Documents/codes/TurbulenceConvection.jl/integration_tests/utils/main.jl:105
[5] main1d
@ ~/Documents/codes/TurbulenceConvection.jl/integration_tests/utils/main.jl:105 [inlined]
[6] #main#1
@ ~/Documents/codes/TurbulenceConvection.jl/integration_tests/utils/main.jl:101 [inlined]
[7] main(namelist::Dict{String, Any})
@ Main ~/Documents/codes/TurbulenceConvection.jl/integration_tests/utils/main.jl:101
[8] top-level scope
@ ~/Documents/codes/TurbulenceConvection.jl/integration_tests/utils/main.jl:138
in expression starting at /Users/yaircohen/Documents/codes/TurbulenceConvection.jl/integration_tests/utils/main.jl:130
"""""
as uuid is only added in the test file.