Skip to content

Commit

Permalink
dags: fixes wrong key - organization/institution
Browse files Browse the repository at this point in the history
Signed-off-by: pamfilos <[email protected]>
  • Loading branch information
pamfilos committed Jul 19, 2024
1 parent 63506b2 commit 4cc6c7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dags/iop/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def _get_affiliation_value(self, article, reffered_id):
if country:
institution_and_country["country"] = country
if institution and country:
institution_and_country["institution"] = ", ".join(
institution_and_country["organization"] = ", ".join(
[institution, country]
)
return institution_and_country
Expand Down
2 changes: 1 addition & 1 deletion dags/oup/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def _get_authors(self, article):
"institution",
)
)
_aff = {"institution": institution}
_aff = {"organization": institution}
if country:
country = country.capitalize()
_aff["country"] = country
Expand Down

0 comments on commit 4cc6c7d

Please sign in to comment.