We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 41ce615 + 992930b commit 0f28c65Copy full SHA for 0f28c65
peppy/_version.py
@@ -1 +1 @@
1
-__version__ = "0.40.4"
+__version__ = "0.40.5"
peppy/project.py
@@ -331,6 +331,9 @@ def to_dict(
331
]
332
else:
333
sub_df = None
334
+
335
+ if not self.get(ORIGINAL_CONFIG_KEY):
336
+ self[ORIGINAL_CONFIG_KEY] = self[CONFIG_KEY]
337
try:
338
self[ORIGINAL_CONFIG_KEY][NAME_KEY] = self.name
339
except NotImplementedError:
@@ -418,6 +421,7 @@ def parse_config_file(
418
421
"""
419
422
if CONFIG_KEY not in self:
420
423
self[CONFIG_KEY] = {}
424
+ self[ORIGINAL_CONFIG_KEY] = {}
425
if not os.path.exists(cfg_path) and not is_url(cfg_path):
426
raise OSError(f"Project config file path does not exist: {cfg_path}")
427
config = load_yaml(cfg_path)
0 commit comments