Skip to content

Commit

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

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

extra_info["filename"] = str(file)

Expand Down

0 comments on commit 91e405d

Please sign in to comment.