From c57e97b5c1e21265a9b5d65cff19933cfb1a845b Mon Sep 17 00:00:00 2001 From: Orso Meneghini Date: Mon, 16 Dec 2024 20:34:22 -0800 Subject: [PATCH] fix running of DIII-D use cases --- src/parameters/parameters_inits.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parameters/parameters_inits.jl b/src/parameters/parameters_inits.jl index 214546531..7d380787f 100644 --- a/src/parameters/parameters_inits.jl +++ b/src/parameters/parameters_inits.jl @@ -349,7 +349,7 @@ function Base.setproperty!(parameters_build::FUSEparameters__build{T}, field::Sy layer.thickness = thickness # type - if occursin("OH", uppercase(layer.name)) && occursin("hfs", lowercase(layer.name)) && !occursin("gap ", lowercase(layer.name)) + if occursin("OH", uppercase(layer.name)) && occursin("hfs", lowercase(layer.name)) layer.type = :oh elseif occursin("gap ", lowercase(layer.name)) layer.type = :gap