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 1be979f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions abcd/backends/atoms_opensearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,7 @@ def upload(
if isinstance(file, str):
file = Path(file)

extra_info = dict(map(extras.parser.parse, extra_infos))

extra_info = {extras.parser.parse(info) for info in extra_infos}
extra_info["filename"] = str(file)

data = iread(str(file))
Expand Down

0 comments on commit 1be979f

Please sign in to comment.