Skip to content

Commit 048c3f8

Browse files
Fix .zenodo.json and add test for formatting (#120)
* Fix #114 .zenodo.json formatting Following fix in Imageomics/pybioclip#75 * Add test for .zenodo format Following Imageomics/pybioclip#75 Co-authored-by: John Bradley <[email protected]> --------- Co-authored-by: John Bradley <[email protected]>
1 parent 146af94 commit 048c3f8

File tree

2 files changed

+26
-51
lines changed

2 files changed

+26
-51
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Check zenodo metadata
2+
3+
on: [push]
4+
5+
jobs:
6+
check-zenodo-metadata:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v4
13+
with:
14+
node-version: '22'
15+
- name: Install dependencies
16+
run: npm install [email protected]
17+
- name: Check .zenodo.json file
18+
run: |
19+
npx zenodraft metadata validate .zenodo.json

.zenodo.json

Lines changed: 7 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -46,58 +46,14 @@
4646
"publication_date": "2024-07-19",
4747
"title": "Andromeda",
4848
"version": "1.3.1",
49-
"funding": [
49+
"grants": [
5050
{
51-
"award": {
52-
"id": "021nxhr62::2118240",
53-
"number": "2118240",
54-
"program": "CISE/OAD",
55-
"title": {
56-
"en": "HDR Institute: Imageomics: A New Frontier of Biological Information Powered by Knowledge-Guided Machine Learning"
57-
}
58-
},
59-
"funder": {
60-
"id": "021nxhr62",
61-
"name": "National Science Foundation"
51+
"id": "021nxhr62::2118240"
6252
}
63-
}
6453
],
6554
"references": [
66-
{
67-
"reference": "Han, H. et al. (2022). Explainable Interactive Projections for Image Data. In: Bebis, G., et al. Advances in Visual Computing. ISVC 2022. Lecture Notes in Computer Science, vol 13598. Springer, Cham. https://doi.org/10.1007/978-3-031-20713-6_6"
68-
},
69-
{
70-
"reference": "Liu, W. (2022). Quest2022_Andromeda [Computer Software]. https://github.com/infovis-vt/Quest2022_Andromeda/tree/7cb9fc17c7652dfb85ee7544603c8c5110edd9e7"
71-
},
72-
{
73-
"reference": "Han, H. (2023) Andromeda_IMG [Computer Software]. https://github.com/infovis-vt/Andromeda_IMG/tree/5ed9d493d15d834d0a47c7ac543e565dd4d2c84e"
74-
}
75-
],
76-
"related_identifiers": [
77-
{
78-
"identifier": "https://github.com/Imageomics/Andromeda/",
79-
"relation_type": {
80-
"id": "isversionof",
81-
"title": {
82-
"de": "Ist eine Version von",
83-
"en": "Is version of"
84-
}
85-
},
86-
"resource_type": {
87-
"id": "software",
88-
"title": {
89-
"de": "Software",
90-
"en": "Software"
91-
}
92-
},
93-
"scheme": "url"
94-
}
95-
],
96-
"resource_type": {
97-
"id": "software",
98-
"title": {
99-
"de": "Software",
100-
"en": "Software"
101-
}
102-
}
103-
}
55+
"Han, H. et al. (2022). Explainable Interactive Projections for Image Data. In: Bebis, G., et al. Advances in Visual Computing. ISVC 2022. Lecture Notes in Computer Science, vol 13598. Springer, Cham. https://doi.org/10.1007/978-3-031-20713-6_6",
56+
"Liu, W. (2022). Quest2022_Andromeda [Computer Software]. https://github.com/infovis-vt/Quest2022_Andromeda/tree/7cb9fc17c7652dfb85ee7544603c8c5110edd9e7",
57+
"Han, H. (2023) Andromeda_IMG [Computer Software]. https://github.com/infovis-vt/Andromeda_IMG/tree/5ed9d493d15d834d0a47c7ac543e565dd4d2c84e"
58+
]
59+
}

0 commit comments

Comments
 (0)