Skip to content
Merged
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
20 changes: 1 addition & 19 deletions sync/bin/update_dois.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
to DIS MongoDB.
"""

__version__ = '22.7.0'
__version__ = '22.8.0'

import argparse
import collections
Expand Down Expand Up @@ -905,24 +905,6 @@ def get_suporg_code(name):
return None


def add_pmid(key, persist):
''' Add the PMID to a DOI record
Keyword arguments:
key: DOI
persist: dict keyed by DOI with value of the Crossref/DataCite record
Returns:
None
'''
try:
pmid = JRC.get_pmid(key)
except JRC.PMIDNotFound:
return
except Exception as err:
terminate_program(err)
if pmid:
persist[key]['jrc_pmid'] = pmid


def get_tags(persist, rec):
''' Get tags and names from a DOI record
Keyword arguments:
Expand Down
Loading