jakelever / biotext

Get a nicely-chunked local copy of the biomedical literature (to use for other projects)!
MIT License
13 stars 5 forks source link

Update pmcxml.py; PubMedCentral IDs in EuropePMC JATS files are known… #21

Closed mevol closed 4 months ago

mevol commented 4 months ago

… as "pmcid" and not "pmc"; otherwise no PMC ID is retrieved from publications

jakelever commented 4 months ago

Hey @mevol , this is a good catch. Unfortunately the NCBI PMC files do use "pmc" for the pmcid, so your fix would break for those. I'll create an issue and put in a fix that covers both.

jakelever commented 4 months ago

That's it fixed for both in #22 . Thanks for raising this.