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 46c1aae commit d11f31b
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 76 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
Loading

0 comments on commit d11f31b

Please sign in to comment.