Skip to content

Commit

Permalink
Remove unused ORCID contact extraction from ArticleDetail #235
Browse files Browse the repository at this point in the history
  • Loading branch information
eliselavy committed Jan 2, 2025
1 parent 9fe05d9 commit 68190c7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions jdhseo/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ def ArticleDetail(request, pid):
# decode notebook url
notebook_url = urllib.parse.unquote(
base64.b64decode(article.notebook_url).decode('utf-8'))
# contact_orcid
ORCID_URL = "https://orcid.org/"
contact_orcid = article.abstract.contact_orcid.partition(ORCID_URL)[2]
if 'keywords' in article.data:
array_keys = "<b>Keywords: </b>" + article.data['keywords'][0].replace(';', ',')
logger.info(f"keywords {array_keys}")
Expand Down

0 comments on commit 68190c7

Please sign in to comment.