Permalink
Browse files

Merge pull request #4 from timothyjlaurent/patch-1

use subJournal and subJournalISO in subArticle
  • Loading branch information...
jakelever committed Dec 11, 2018
2 parents 5d08960 + f7c1f42 commit 109f1ba65939e57c85e84ba4bf179db6793b494d
Showing with 1 addition and 1 deletion.
  1. +1 −1 pubrunner/convert.py
@@ -414,7 +414,7 @@ def processPMCFile(pmcFile):
backText = extractTextFromElemList(articleElem.findall('./back'))
floatingText = extractTextFromElemList(articleElem.findall('./floats-group'))

document = {'pmid':subPmidText, 'pmcid':subPmcidText, 'doi':subDoiText, 'pubYear':subPubYear, 'pubMonth':subPubMonth, 'pubDay':subPubDay, 'journal':journal, 'journalISO':journalISO}
document = {'pmid':subPmidText, 'pmcid':subPmcidText, 'doi':subDoiText, 'pubYear':subPubYear, 'pubMonth':subPubMonth, 'pubDay':subPubDay, 'journal':subJournal, 'journalISO':subJournalISO}

textSources = {}
textSources['title'] = titleText

0 comments on commit 109f1ba

Please sign in to comment.