Skip to content

Commit f75bb11

Browse files
authored
Merge pull request #94 from P2GX/visual_corrections
Enhance metadata notes with version and citation info
2 parents b9064ea + 15a55a8 commit f75bb11

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

scripts/update_and_release_to_zenodo.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@ def create_new_version():
4545

4646
today_date = datetime.today().strftime("%Y-%m-%d")
4747
metadata["publication_date"] = today_date
48+
metadata["notes"] = (
49+
f"Phenopacket-store version {LATEST_PPKT_STORE} and "
50+
f"HPO version {LATEST_HPO} were used. "
51+
f'Beyond this record, please also cite '
52+
f'<a href="https://doi.org/10.1016/j.ebiom.2025.105957">'
53+
f'this paper</a>.'
54+
)
4855
metadata["notes"] = f"Used phenopacket-store version {LATEST_PPKT_STORE} and HPO version {LATEST_HPO}. Beyond this record, please also cite https://doi.org/10.1016/j.ebiom.2025.105957"
4956
metadata_update = {"metadata": metadata}
5057
#TODO maybe add further data here about number of prompts in each language? Should be easy to do with JSONL

scripts/zenodo_metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222
"code:codeRepository": "https://github.com/monarch-initiative/phenopacket2prompt",
2323
"code:programmingLanguage": [{"id": "java", "title": {"en": "Java"}}]
2424
},
25-
"references": "https://doi.org/10.1016/j.ebiom.2025.105957"
25+
"references": ["https://doi.org/10.1016/j.ebiom.2025.105957"]
2626
}

0 commit comments

Comments
 (0)