From 240b32944579b817e68150d3543a26b3c5615866 Mon Sep 17 00:00:00 2001 From: Joaquim Date: Mon, 22 Jun 2026 20:14:27 +0100 Subject: [PATCH] Let hlp_desnany_arg2str(d,s) accept s == true to mean arg was found in d. --- src/utils_types.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils_types.jl b/src/utils_types.jl index ee3bd7513..c9aa97934 100644 --- a/src/utils_types.jl +++ b/src/utils_types.jl @@ -2624,7 +2624,7 @@ function hlp_desnany_str(d, s::Vector{Symbol}, del=true)::String ((val = find_in_dict(d, s, del)[1]) === nothing) ? "" : string(val) end function hlp_desnany_arg2str(d, s, del=true; sep='/')::String - ((val = find_in_dict(d, s, del)[1]) === nothing) ? "" : arg2str(val, sep) + ((val = find_in_dict(d, s, del)[1]) === nothing) ? "" : (isa(val, Bool) && val == true) ? " " : arg2str(val, sep) end # ---------------------------------------------------------------------------------------------------