elifesciences / elife-tools

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

Editor evaluation parsing #359

Closed gnott closed 3 years ago

gnott commented 3 years ago

A new type of eLife <sub-article> named the Editor's evaluation is under development. It is similar to the decision letter or author response except it may also include a link in a <related-object>.

There is a new function editor_evaluation() to parse the particular sub-article into JSON format to fit into the API RAML schema, and the raw_parser.py is configured to find it in the XML.

The existing function sub_articles() is enhanced to also include the <related-object> tag data.

For both functions, test scenarios for parsing the editor's evaluation XML are included.

A new version of 0.10.0 is assign to this library update.