Releases: elifesciences/elife-cleaner
elifecleaner 0.22.0
Added: prc.py
module to detect and modify PRC (Publish Review Curate) style eLife article XML
Code merged in PR #62
elifecleaner 0.21.0
Added: sub_article.py
module, includes some functions to generate <sub-article>
XML tags
Code merged in PR #60
elifecleaner 0.20.0
Removed: zip_lib. unzip_file()
.
Instead, unzipping of files uses zipfile.ZipFile.extract()
for hopefully better efficiency and memory usage.
Code merged in PR #58
elifecleaner 0.19.0
Logic to rename video term numbers if there is a duplicate found.
Code merged in PR #56
elifecleaner 0.18.0
Replace character entities for control characters which cause XML parsing errors.
Code merged in PR #54
elifecleaner 0.17.0
Added check_art_file()
to parse.py
, and is invoked in the check_files()
function.
Code merged in PR #51
elifecleaner 0.16.0
Two improvements to pattern matching, the first in video.terms_from_title()
where hyphen and underscore are replaced with a space character to find the terms better, the second in parse.find_missing_files_by_name()
and a related function so it can match multiple whitespace characters between the term and number, e.g.
Figure 7
Code merged in PR #49
elifecleaner 0.15.0
Added transform_xml_funding()
to add a sentence to the <funding-statement>
tag if there is a Wellcome funding source, and this is called when invoking the transform_xml()
function.
Code merged in PR #47
elifecleaner 0.14.0
Changes to the test fixtures to compare using XML output from Python 3.8 or newer. Python 3.6 and older are supported in the existing test cases, where the XML tag attribute order is different.
Code merged in PR #45
elifecleaner 0.13.1
Typo in a log message fixed in PR #43