Adds grant parsing into the primary parser and embeds the results into the main PubMed record.
Converts the parse_medline_xml into an iterator. The largest pubmednXX file uses about 7GB to parse, so this change allows one to reduce memory usage considerably.
I haven't added tests or detailed examples, and this is a significant change to the API and internal behavior, so feel free to ignore the PR.
Finally, thanks for making a really useful piece of software available to the rest of us!
This PR makes two main changes:
I haven't added tests or detailed examples, and this is a significant change to the API and internal behavior, so feel free to ignore the PR.
Finally, thanks for making a really useful piece of software available to the rest of us!