Permalink
Browse files

use subJournal and subJournalISO in subArticle

Cloned the repo and noticed those variables weren't being used.
  • Loading branch information...
timothyjlaurent committed Dec 6, 2018
1 parent 5d08960 commit f7c1f4245d9271edeaaefa12bb01a2f8c1ad512d
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 f7c1f42

Please sign in to comment.