Skip to content

Commit a64e100

Browse files
authored
Merge pull request bids-standard#2199 from effigies/fix/marie-curie
fix: Remove Marie Curie from contributors
2 parents 8fd451a + 39a73e0 commit a64e100

File tree

7 files changed

+84
-106
lines changed

7 files changed

+84
-106
lines changed

.all-contributorsrc

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2190,37 +2190,13 @@
21902190
"name": "Marco Castellaro",
21912191
"profile": "https://github.com/marcocastellaro"
21922192
},
2193-
{
2194-
"contributions": [
2195-
"blog",
2196-
"bug",
2197-
"code",
2198-
"doc",
2199-
"ideas",
2200-
"maintenance",
2201-
"review"
2202-
],
2203-
"login": "margaret_e._heafield",
2204-
"name": "Margaret E. Heafield"
2205-
},
22062193
{
22072194
"contributions": [
22082195
"doc"
22092196
],
22102197
"login": "maria_ermolova",
22112198
"name": "Maria Ermolova"
22122199
},
2213-
{
2214-
"contributions": [
2215-
"bug",
2216-
"doc",
2217-
"ideas",
2218-
"review"
2219-
],
2220-
"login": "MarieCurie",
2221-
"name": "Maria Salomea Skłodowska",
2222-
"profile": "https://example.com"
2223-
},
22242200
{
22252201
"avatar_url": "https://avatars.githubusercontent.com/u/3390888?v=4",
22262202
"contributions": [

.github/workflows/validation.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,5 @@ jobs:
6767
- uses: astral-sh/setup-uv@v6
6868
- name: Validate CITATION.cff
6969
run: uvx cffconvert --validate
70+
- name: Check for Zenodo compatibility
71+
run: uv run tools/validate_citation.py

.tributors

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2281,39 +2281,13 @@
22812281
"orcid": "0000-0002-1203-2670",
22822282
"publish_email": true
22832283
},
2284-
"margaret_e._heafield": {
2285-
"contributions": [
2286-
"blog",
2287-
"bug",
2288-
"code",
2289-
"doc",
2290-
"ideas",
2291-
"maintenance",
2292-
"review"
2293-
],
2294-
"name": "Margaret E. Heafield"
2295-
},
22962284
"maria_ermolova": {
22972285
"contributions": [
22982286
"doc"
22992287
],
23002288
"email": "[email protected]",
23012289
"name": "Maria Ermolova"
23022290
},
2303-
"MarieCurie": {
2304-
"affiliation": "Open-Science University, Earth",
2305-
"blog": "https://example.com",
2306-
"contributions": [
2307-
"bug",
2308-
"doc",
2309-
"ideas",
2310-
"review"
2311-
],
2312-
"email": "[email protected]",
2313-
"github": "MarieCurie",
2314-
"name": "Maria Salomea Skłodowska",
2315-
"orcid": "0320-4024-4203-5343"
2316-
},
23172291
"maigva": {
23182292
"affiliation": "FISABIO, Join Unit Biomedical Imagin, Valencia, Valencia, 46006, Spain",
23192293
"blog": "https://bimcv.cipf.es",

CITATION.cff

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,17 +1069,9 @@ authors:
10691069
orcid: https://orcid.org/0000-0002-1203-2670
10701070
affiliation: University of Padova, Department of Information Engineering, Padova, Italy
10711071
1072-
- given-names: Margaret E.
1073-
family-names: Heafield
10741072
- given-names: Maria
10751073
family-names: Ermolova
10761074
1077-
- given-names: Maria
1078-
family-names: Salomea Skłodowska
1079-
website: https://example.com
1080-
orcid: https://orcid.org/0320-4024-4203-5343
1081-
affiliation: Open-Science University, Earth
1082-
10831075
- given-names: Maria
10841076
family-names: de la Iglesia
10851077
website: https://bimcv.cipf.es

README.md

Lines changed: 44 additions & 46 deletions
Large diffs are not rendered by default.

src/appendices/contributors.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,7 @@ If you contributed to the BIDS ecosystem and your name is not listed, please add
273273
| Maqsood Yaqub | 📖 |
274274
| Marc Lalancette | 📖💻 |
275275
| Marco Castellaro | 💬🐛💻📖💡⚠️📢🚇 |
276-
| Margaret E. Heafield | 📝🐛💻📖🤔🚧👀 |
277276
| Maria Ermolova | 📖 |
278-
| Maria Salomea Skłodowska | 🐛📖🤔👀 |
279277
| Maria de la Iglesia | 📖 |
280278
| Marie-Hélène Bourget | 📖🔣💻🤔 |
281279
| Mark Mikkelsen | 📖💻🔣👀 |

tools/validate_citation.py

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# /// script
2+
# requires-python = ">=3.13"
3+
# dependencies = [
4+
# "pyyaml",
5+
# "flask",
6+
# "idutils",
7+
# "marshmallow",
8+
# "marshmallow_utils",
9+
# "flask_resources",
10+
# "invenio_records",
11+
# "invenio_db",
12+
# "zenodo-legacy",
13+
# "zenodo-rdm",
14+
# ]
15+
#
16+
# [tool.uv.sources]
17+
# zenodo-rdm = { git = "https://github.com/zenodo/zenodo-rdm.git", subdirectory = "site", rev = "v21.0.2" }
18+
# zenodo-legacy = { git = "https://github.com/zenodo/zenodo-rdm.git", subdirectory = "legacy", rev = "v21.0.2" }
19+
# ///
20+
21+
# This script checks whether Zenodo will accept a CITATION.cff file
22+
from pathlib import Path
23+
24+
import yaml
25+
from zenodo_rdm.github.schemas import CitationMetadataSchema
26+
from zenodo_rdm.legacy.deserializers.schemas import LegacySchema
27+
28+
29+
def main() -> None:
30+
contents = Path("CITATION.cff").read_text()
31+
data = yaml.safe_load(contents)
32+
legacy_data = {"metadata": CitationMetadataSchema().load(data)}
33+
rdm_data = LegacySchema().load(legacy_data)
34+
print(rdm_data["metadata"])
35+
36+
37+
if __name__ == "__main__":
38+
main()

0 commit comments

Comments
 (0)