Skip to content

Commit

Permalink
Fix extra info
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliottKasoar committed Jun 12, 2024
1 parent 0653983 commit 04089d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion abcd/backends/atoms_opensearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,9 @@ def upload(
if isinstance(file, str):
file = Path(file)

extra_info = dict(map(extras.parser.parse, extra_infos))
extra_info = {}
for info in extra_infos:
extra_info.update(extras.parser.parse(info))

extra_info["filename"] = str(file)

Expand Down

0 comments on commit 04089d3

Please sign in to comment.