Skip to content

Commit

Permalink
Merge pull request #422 from elifesciences/develop
Browse files Browse the repository at this point in the history
PR for version 0.33.1 release
  • Loading branch information
gnott committed Oct 25, 2023
2 parents 15488f7 + ba40617 commit 944c54c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion elifetools/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.33.0"
__version__ = "0.33.1"
9 changes: 5 additions & 4 deletions elifetools/parseJATS.py
Original file line number Diff line number Diff line change
Expand Up @@ -1385,10 +1385,11 @@ def format_contrib_refs(contrib_tag, soup):
if ref_type == "corresp":
# Check for email or phone type
corresp_tag = utils.firstnn(soup.find_all(id=rid))
if contrib_phone(corresp_tag):
add_to_list_dictionary(contrib_refs, "phone", rid)
elif contrib_email(corresp_tag):
add_to_list_dictionary(contrib_refs, "email", rid)
if corresp_tag:
if contrib_phone(corresp_tag):
add_to_list_dictionary(contrib_refs, "phone", rid)
elif contrib_email(corresp_tag):
add_to_list_dictionary(contrib_refs, "email", rid)
if ref_type == "fn":
if rid.startswith("equal-contrib"):
add_to_list_dictionary(contrib_refs, "equal-contrib", rid)
Expand Down

0 comments on commit 944c54c

Please sign in to comment.