Releases: elifesciences/elife-cleaner
elifecleaner 0.51.0
Modified: fig.split_title_parts()
to keep a simple sentence which has no full stops in it, which was otherwise omitted completely
Code merged in PR #125
elifecleaner 0.50.0
Added: prc.volume_from_docmap()
, "from the docmap calculate the volume"
Added: prc.volume_from_history_data()
, "from history data, calculate the volume from the first reviewed preprint"
Added: Constant prc.START_YEAR
is the eLife journal first year of publication, used to calculate the journal volume from a date
Code merged in PR #123
elifecleaner 0.49.0
Modified: prc.add_pub_history()
changed the <self-uri>
tag to have the value in an @xlink:href
attribute, not as text
Code merged in PR #121
elifecleaner 0.48.0
Added: prc.py
constants defining placeholder text: EVENT_DESC_PREPRINT, EVENT_DESC_REVIEWED_PREPRINT, EVENT_DESC_REVISED_PREPRINT
Modified: prc.add_pub_history()
, add <event-desc>
tag, using the placeholder text which matches the event type
Modified: prc.add_pub_history()
, add an @iso-8601-date
attribute to the <date>
tag
Code merged in PR #119
elifecleaner 0.47.0
Added: prc.add_pub_history()
to add a <pub-history>
tag to the <article-meta>
, and add <event>
tags for each of the preprint data returned from a docmap.
Code merged in PR #117
elifecleaner 0.46.0
Modified: prc.date_struct_from_string()
to also support parsing date strings which include microseconds
Code merged in PR #115
elifecleaner 0.45.0
Added: transform.transform_kwd_tags()
to remove duplicate <kwd>
tags
Modified: transform.transform_xml()
to also invoke transform_kwd_tags()
Code merged in PR #113
elifecleaner 0.44.0
Added: prc.review_date_from_docmap()
, "find the under-review date for the first preprint from the docmap"
Added: prc.date_struct_from_string()
, "parse the date_string into time.struct_time"
Added: prc.add_history_date()
, "find or add the history tag and add a date to it"
Dependencies: requires newer versions of docmaptools
and of jatsgenerator
.
Code merged in PR #111
elifecleaner 0.43.0
Added: transform.transform_subject_tags()
to modify <subject>
tag text, and remove duplicate <subject>
tags
Modified: transform.transform_xml()
to also invoke transform_subject_tags()
Code merged in PR #109
elifecleaner 0.42.0
Modified: prc.is_xml_prc()
does not require for the XML to have an ISSN, and also check the <elocation-id>
tag value to determine if the XML is PRC type
Modified: prc.ELOCATION_ID_REPLACEMENT_PATTERN
constant to use the new ELOCATION_ID_PRC_TERM
constant value in the pattern
Added: prc.ELOCATION_ID_PRC_TERM
constant for matching PRC elocation-id term values
Code merged in PR #107