elifesciences / elife-tools

Python library for parsing eLife article XML data.
MIT License
15 stars 7 forks source link

Bug fix typo in datasets_json() #340

Closed gnott closed 3 years ago

gnott commented 3 years ago

Re issue https://github.com/elifesciences/issues/issues/6422

Discovered when parsing some non-eLife XML in the datasets_json() function, there was a typo, resulting in only one paragraph (the final paragraph) for data availability was included in the return value.

Here, the typo is fixed, a new test scenario is added to cover it, and a library version bump to 0.4.1.