diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2020-12-10 00:35:11 +0100 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2020-12-10 00:35:11 +0100 |
commit | 4a74839914527d191cc7610657c1c25e92a6e19e (patch) | |
tree | 9e28e3115fa8d56a002b2c54cb3eea01a8605fe7 /fuzzycat/verify.py | |
parent | 1d8aafede80ac9c0c1a2c676eab869d1279845a8 (diff) | |
download | fuzzycat-4a74839914527d191cc7610657c1c25e92a6e19e.tar.gz fuzzycat-4a74839914527d191cc7610657c1c25e92a6e19e.zip |
pmid doi pair case
Diffstat (limited to 'fuzzycat/verify.py')
-rw-r--r-- | fuzzycat/verify.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzzycat/verify.py b/fuzzycat/verify.py index abfbbf4..bf59ed8 100644 --- a/fuzzycat/verify.py +++ b/fuzzycat/verify.py @@ -454,7 +454,7 @@ def compare(a, b): # Does not cover case, where both authors are empty. if a_release_year == b_release_year and a_title_lower == b_title_lower: if ((dict_key_exists(a, "ext_ids.pmid") and dict_key_exists(b, "ext_ids.doi")) - or (dict_key_exists(b, "ext_ids.pmid") and dict_key_exists(b, "ext_ids.doi"))): + or (dict_key_exists(b, "ext_ids.pmid") and dict_key_exists(a, "ext_ids.doi"))): return (Status.STRONG, OK.PMID_DOI_PAIR) # Two JSTOR items will probably be different. |