Skip to content

Commit

Permalink
YAMLConfig fix for creating nested entries (#376)
Browse files Browse the repository at this point in the history
Co-authored-by: She Zhang <[email protected]>
  • Loading branch information
SHZ66 and She Zhang authored Feb 5, 2024
1 parent 584d082 commit d5f8301
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/westpa/core/yamlcfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ def __setitem__(self, key, value):
val = val[keypart]
except KeyError:
val[keypart] = {}
val = val[keypart]
try:
val = val[key[-1]]
except KeyError:
Expand Down

0 comments on commit d5f8301

Please sign in to comment.