Skip to content

Commit 532833c

Browse files
committed
chore: update parsing script for new format
1 parent a995ad7 commit 532833c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/data.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,7 @@ def parse_file(filename):
3838
A dictionary with the content of the yaml file
3939
"""
4040
with open(filename) as f:
41-
content = yaml.safe_load(f)
42-
content_dict = {}
43-
for element in content:
44-
key, value = list(element.items())[0]
45-
content_dict[key] = value
41+
content_dict = yaml.safe_load(f)
4642

4743
# Normalize the standard fields
4844

0 commit comments

Comments
 (0)