Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions allofplos/article.py
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,7 @@ def get_contributors_info(self):
'ids',
'rid_dict',
'contrib_type',
'equal_contrib',
'author_type',
'editor_type',
'email',
Expand Down
3 changes: 3 additions & 0 deletions allofplos/elements/article_elements.py
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down