Skip to content

Commit 51704fb

Browse files
committed
fix-docmaps-zenodo-doi-support
2 parents 7ba469f + 2e95089 commit 51704fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/app_modules/common_tools.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,7 @@ def url_to_doi_id(doi: str):
465465
.replace("dx.doi.org/", "") \
466466
.replace("www.biorxiv.org/", "") \
467467
.replace("content/", "") \
468+
.replace("zenodo.org/records/", "10.5281/zenodo.") \
468469
.replace("arxiv.org/abs/", "10.48550/arXiv.")
469470
return doi
470471

0 commit comments

Comments
 (0)