Skip to content

Releases: elifesciences/elife-cleaner

elifecleaner 0.70.0

03 Oct 01:49
93f064a
Compare
Choose a tag to compare
elifecleaner 0.70.0 Pre-release
Pre-release

Added: prc.article_id_from_docmap(), from the docmap get the article_id

Requires docmaptools>=0.25.0

Code merged in PR #169

elifecleaner 0.69.0

26 Sep 23:07
0682de7
Compare
Choose a tag to compare
elifecleaner 0.69.0 Pre-release
Pre-release

Modified: sub_article.sub_article_data(), default article argument value is None
Modified: sub_article.build_sub_article_object(), add generate_dois argument; generate or set DOI values based on the generate_dois value, and whether an article_object is supplied; only copy contributors from the article_object if it was supplied
Modified: sub_article.format_content_json(), default article argument value is None; rely on build_sub_article_object() to set DOI values if generate_dois=False

Code merged in PR #167

elifecleaner 0.68.0

20 Sep 19:06
0c86a7e
Compare
Choose a tag to compare
elifecleaner 0.68.0 Pre-release
Pre-release

Modified: prc.add_history_date(), add @iso-8601-date attribute to the <date> tag

Code merged in PR #165

elifecleaner 0.67.0

18 Sep 00:25
0d959f4
Compare
Choose a tag to compare
elifecleaner 0.67.0 Pre-release
Pre-release

Modified: prc.elocation_id_from_docmap(), arguments changed, log warning message changed
Modified: prc.volume_from_docmap(), arguments changed, log warning message changed
Added: prc.license_from_docmap(), from the docmap get the license
Added: prc.article_categories_from_docmap(), from the docmap get the article category subject disciplines

Requires docmaptools>=0.23.0

Code merged in PR #163

elifecleaner 0.66.0

13 Sep 19:04
759241c
Compare
Choose a tag to compare
elifecleaner 0.66.0 Pre-release
Pre-release

Modified: prc.add_version_doi(), now calls add_doi(), backwards compatibility remains, however log warnings will be identified under add_doi instead of add_version_doi now
Added: prc.add_doi(), to add <article-id> tag without a @specific-use value
Added: prc.add_article_id(), a more general purpose function to add an <article-id> tag to a parent element

Code merged in PR #161

elifecleaner 0.65.1

13 Sep 17:33
919a443
Compare
Choose a tag to compare
elifecleaner 0.65.1 Pre-release
Pre-release

Modified: sub_article.pretty_sub_article_xml(), move p tag from getting both text and tail new line wrap to only get tail wrap treatment

Code merged in PR #159

elifecleaner 0.65.0

11 Sep 17:28
1826fdd
Compare
Choose a tag to compare
elifecleaner 0.65.0 Pre-release
Pre-release

Modified: sub_article.pretty_sub_article_xml() to include more tags to be wrapped with new line characters
Modified: sub_article.tag_new_line_wrap() is functionally the same, refactored to make separate function calls
Added: sub_article.tag_new_line_wrap_text() to add new line character after tag text if there is no text
Added: sub_article.tag_new_line_wrap_tail() to add new line character after tag tail if there is no tail

Code merged in PR #157

elifecleaner 0.64.0

07 Sep 01:04
7de48e3
Compare
Choose a tag to compare
elifecleaner 0.64.0 Pre-release
Pre-release

Modified transform.write_xml_file() added optional arguments doctype_dict, encoding, processing_instructions, to add details to the XML if they are supplied
Modified transform.xml_element_to_string() added optional arguments doctype, encoding, processing_instructions, which are passed to xmlio.output_root()
Added sub_article.tag_new_line_wrap(), sets new line characters as the Element text or tail if there is no text or no tail
Added sub_article.pretty_sub_article_xml(), wraps new line characters around <sub-article> and selected tags inside it to create more pretty XML

Code merged in PR #155

elifecleaner 0.63.0

05 Sep 03:10
f5b169f
Compare
Choose a tag to compare
elifecleaner 0.63.0 Pre-release
Pre-release

Modified: sub_article.add_sub_article_xml(), added version_doi and generate_dois arguments, which are passed to sub_article_data()
Modified: sub_article.reorder_review_articles(), removed a print() statement

Code merged in PR #153

elifecleaner 0.62.0

15 Apr 23:38
aeab15e
Compare
Choose a tag to compare
elifecleaner 0.62.0 Pre-release
Pre-release

Modified: prc.version_doi_from_docmap(), adding the published argument

Dependency bump: requires at least docmaptools>=0.21.0

Code merged in PR #150