Skip to content

Commit

Permalink
wts2-1594/e4g-106/DoiFinder/j.isci issue
Browse files Browse the repository at this point in the history
  • Loading branch information
leemdi committed Dec 23, 2024
1 parent e34e693 commit 82a6672
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions HISTORY
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
TAG: lib_py_littriage-6-0-25-1
DATE: 12/23/2024
STAFF: lec
wts2-1594/e4g-106/DoiFinder/j.isci issue
# modified: PdfParser.py
while testing Lit Triage, found a j.isci issue; added this:
class DoiFinder: text = text.replace(' j.isci', 'j.isci')

TAG: lib_py_littriage-6-0-24-2
TAG: lib_py_littriage-6-0-24-1
DATE: 10/23/2024
Expand Down
1 change: 1 addition & 0 deletions PdfParser.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def getDoiID (self, text):

# Everything except pnas
text = text.replace(' journal.pone', 'journal.pone')
text = text.replace(' j.isci', 'j.isci')
match = self.DOI_RE.search(text)

if not match: # no apparent DOI
Expand Down

0 comments on commit 82a6672

Please sign in to comment.