aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-07-23 15:32:41 -0700
committerBryan Newbold <bnewbold@robocracy.org>2020-07-23 15:33:45 -0700
commitfc93f35996cab23984d9a45f1a411b8776e437bf (patch)
tree04160ff8eb9e9242700799efb2aee26472298e98 /python/fatcat_tools/importers
parent06d4f13307b1c2591f7f27f56d97d9b463b0e14e (diff)
downloadfatcat-fc93f35996cab23984d9a45f1a411b8776e437bf.tar.gz
fatcat-fc93f35996cab23984d9a45f1a411b8776e437bf.zip
fix issnl typo in pubmed
Oh no! This bug may actually have had significant negative impact on metadata in fatcat, in terms of missing container_id associations with pubmed entities. There are about 500k release entities with a PMID but no container_id. Of those, 89k have at least a container_name. Unclear how many would have matched to ISSN-L and thus to a container.
Diffstat (limited to 'python/fatcat_tools/importers')
-rw-r--r--python/fatcat_tools/importers/pubmed.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_tools/importers/pubmed.py b/python/fatcat_tools/importers/pubmed.py
index d8a6842c..0ff55c05 100644
--- a/python/fatcat_tools/importers/pubmed.py
+++ b/python/fatcat_tools/importers/pubmed.py
@@ -450,7 +450,7 @@ class PubmedImporter(EntityImporter):
if issnp:
container_extra['issnp'] = issnp.string
if not issnl:
- issnll = self.issn2issnl(issnp)
+ issnl = self.issn2issnl(issnp)
if issnl:
container_id = self.lookup_issnl(issnl)