You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If multiple experiment yamls are listed in the pp section of the main yaml, then only the last listed yaml will be included in the combined yaml. Any other yamls will be overwritten
To Reproduce
Include multiple experiment yamls within a single experiment in the main yaml, like so:
Expected behavior
Ideally, it would be nice to have the components listed in each experiment yaml included in the combined yaml produced afterwards
Additional context
This problem seems to be caused by each of the experiment yamls containing the same keys. In the example listed above, MOM6_postprocess.yaml and Cobalt_postprocess.yaml each contain the following format
postprocess:
components:
- <components here>
When these two yamls are combined with the main yaml, the combined yaml ends up with two postprocessing keys. When the yaml_load function reads these keys, it will overwrite the first postprocess section with the second one, causing the final file to have only the postprocessing components from the second experiment.
This issue could eventually be fixed by a solution to #161
The text was updated successfully, but these errors were encountered:
Describe the bug
If multiple experiment yamls are listed in the
pp
section of the main yaml, then only the last listed yaml will be included in the combined yaml. Any other yamls will be overwrittenTo Reproduce
Include multiple experiment yamls within a single experiment in the main yaml, like so:
Expected behavior
Ideally, it would be nice to have the components listed in each experiment yaml included in the combined yaml produced afterwards
Additional context
This problem seems to be caused by each of the experiment yamls containing the same keys. In the example listed above,
MOM6_postprocess.yaml
andCobalt_postprocess.yaml
each contain the following formatWhen these two yamls are combined with the main yaml, the combined yaml ends up with two postprocessing keys.
When the yaml_load
function reads these keys, it will overwrite the first postprocess section with the second one, causing the final file to have only the postprocessing components from the second experiment.This issue could eventually be fixed by a solution to #161
The text was updated successfully, but these errors were encountered: