From e3f892877222309db1c98009d766c658bcb913bb Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 13 Oct 2021 15:39:05 -0700 Subject: dblp import: fix typos in identifier parsing --- python/fatcat_tools/importers/dblp_release.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/fatcat_tools/importers/dblp_release.py b/python/fatcat_tools/importers/dblp_release.py index daecd765..c64e8b09 100644 --- a/python/fatcat_tools/importers/dblp_release.py +++ b/python/fatcat_tools/importers/dblp_release.py @@ -495,10 +495,9 @@ class DblpReleaseImporter(EntityImporter): doi = clean_doi(url) elif 'wikidata.org/entity/Q' in url and not wikidata_qid: wikidata_qid = clean_wikidata_qid(url) - elif '://arxiv.org/abs/' in url and not wikidata_qid: + elif '://arxiv.org/abs/' in url and not arxiv_id: arxiv_id = url.replace('http://', '').replace('https://', '').replace('arxiv.org/abs/', '') arxiv_id = clean_arxiv_id(arxiv_id) - wikidata_qid = clean_wikidata_qid(url) return fatcat_openapi_client.ReleaseExtIds( dblp=dblp_key, -- cgit v1.2.3