Skip to content

Commit

Permalink
workflows: country removal (#442)
Browse files Browse the repository at this point in the history
* If the affiliation value contains 'The affiliation contains cooperation agreement'
* cern-sis/issues-scoap3#176
  • Loading branch information
ErnestaP authored Jul 17, 2023
1 parent 5fce3f6 commit b470332
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scoap3/modules/workflows/workflows/articles_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ def add_nations(obj, eng):
"The affiliation contains cooperation agreement: '%s'"
% affiliation['value']
)
affiliation.pop('country', None)
continue

obj.data["authors"][author_index]["affiliations"][affiliation_index][
Expand Down

0 comments on commit b470332

Please sign in to comment.