diff --git a/allofplos/article.py b/allofplos/article.py index 590b2c3a..99e5c939 100644 --- a/allofplos/article.py +++ b/allofplos/article.py @@ -623,6 +623,7 @@ def get_contributors_info(self): 'ids', 'rid_dict', 'contrib_type', + 'equal_contrib', 'author_type', 'editor_type', 'email', diff --git a/allofplos/elements/article_elements.py b/allofplos/elements/article_elements.py index d805f363..4b807a8a 100644 --- a/allofplos/elements/article_elements.py +++ b/allofplos/elements/article_elements.py @@ -248,6 +248,9 @@ def get_contrib_info(contrib_element): except KeyError: # invalid contributor field; shouldn't count as contributor return None + + # get equal contribution status + contrib_dict['equal_contrib'] = contrib_element.attrib.get('equal-contrib', None) # get author type if contrib_dict.get('contrib_type') == 'author':