aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim')
-rw-r--r--fg21sim/configs/manager.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/fg21sim/configs/manager.py b/fg21sim/configs/manager.py
index eb6b1d0..59af78a 100644
--- a/fg21sim/configs/manager.py
+++ b/fg21sim/configs/manager.py
@@ -525,12 +525,15 @@ class ConfigManager:
NOTE
----
- The original option orders are missing.
+ * The original option orders are missing.
+ * The ``self.userconfig`` is also dumped.
"""
if from_default:
data = self._config_default.dict()
else:
data = self._config.dict()
+ # Also dump the "userconfig" value
+ data["userconfig"] = self.userconfig
#
if flatten:
data = _flatten_dict(data)