Skip to content

Commit

Permalink
Merge pull request #151 from elifesciences/develop
Browse files Browse the repository at this point in the history
PR for version 0.62.0 release
  • Loading branch information
gnott authored Apr 15, 2024
2 parents 21362ff + 7a70b2f commit aeab15e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion elifecleaner/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import logging


__version__ = "0.61.0"
__version__ = "0.62.0"


LOGGER = logging.getLogger(__name__)
Expand Down
4 changes: 2 additions & 2 deletions elifecleaner/prc.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def elocation_id_from_docmap(docmap_string, identifier=None):
return elocation_id


def version_doi_from_docmap(docmap_string, identifier=None):
def version_doi_from_docmap(docmap_string, identifier=None, published=True):
"find the latest preprint DOI from docmap"
doi = None
LOGGER.info("Parse docmap json")
Expand All @@ -178,7 +178,7 @@ def version_doi_from_docmap(docmap_string, identifier=None):
)
return doi
LOGGER.info("Get latest preprint data from the docmap")
preprint_data = docmap_parse.docmap_latest_preprint(d_json)
preprint_data = docmap_parse.docmap_latest_preprint(d_json, published=published)
if not preprint_data:
LOGGER.warning(
"%s no preprint data was found in the docmap",
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
docmaptools==0.18.0
docmaptools==0.21.0
elifetools==0.32.0
elifearticle==0.14.0
jatsgenerator==0.7.0
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
packages=["elifecleaner"],
license="MIT",
install_requires=[
"docmaptools>=0.18.0",
"docmaptools>=0.21.0",
"elifetools",
"elifearticle>=0.15.0",
"jatsgenerator>=0.7.0",
Expand Down

0 comments on commit aeab15e

Please sign in to comment.