@@ -701,6 +701,57 @@ function dict_name_to_id(wpm::Dict{String, Vector{Float64}})
returnwp
end
"""
change_id(; from::String, to::String)
Changes the ensemble `id` from the string/integer `from` to the string `to`. Note that a call to this routine will affect the output of all currently defined `uwreal` types that depend on ensemble `ID` `from`. On the other hand, it will not affect data that is read after the call to `change_id`. This means that:
- All input should be performed **before** any calls to `change_id`.
- All output (i.e. calls to `write_uwreal` or `details`) is affected by previous calls to `change_id`
```@example
using ADerrors # hide
a = uwreal([1.2, 0.2], "Simplevarwitherror") # a = 1.2 +/- 0.2