Skip to content

Commit d1ea92e

Browse files
committed
refac
1 parent 6934fc0 commit d1ea92e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/IO/IO.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ function show_block_summary(solver_options::Dict,
838838

839839
headers = ["Block"]
840840

841-
for model_name in solver_options["All Models"]
841+
for model_name in solver_options["Models"]
842842
if model_name != "Pre_Calculation"
843843
push!(headers, model_name)
844844
end

test/unit_tests/IO/ut_IO.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -264,11 +264,11 @@ end
264264
block_Id .+= 1
265265
block_Id[end] = 2
266266
PeriLab.Data_Manager.set_block_name_list(["block_1", "block_2"])
267-
solver_options = Dict("Models" => ("Material Models" => true,
268-
"Damage Models" => true,
269-
"Additive Models" => true,
270-
"Thermal Models" => true,
271-
"Degradation Models" => true))
267+
solver_options = Dict("Models" => ["Material",
268+
"Damage",
269+
"Additive",
270+
"Thermal",
271+
"Degradation"])
272272
params = Dict("Blocks" => Dict("block_1" => Dict("Material Models" => true,
273273
"Damage Models" => true,
274274
"Additive Models" => true,

0 commit comments

Comments
 (0)