Skip to content

Commit 2bdb4a6

Browse files
authoredSep 6, 2024··
REL: v1.10.0 (#1914)
1 parent 9ede0c5 commit 2bdb4a6

File tree

8 files changed

+276
-65
lines changed

8 files changed

+276
-65
lines changed
 

‎.all-contributorsrc

Lines changed: 39 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,14 @@
274274
"name": "Anthony Galassi",
275275
"profile": "https://github.com/bendhouseart"
276276
},
277+
{
278+
"contributions": [
279+
"doc"
280+
],
281+
"login": "arianna_sala",
282+
"name": "Arianna Sala",
283+
"profile": "https://www.coma.uliege.be/people/arianna-sala/"
284+
},
277285
{
278286
"avatar_url": [
279287
"https://avatars.githubusercontent.com/u/118582?v=4"
@@ -383,10 +391,13 @@
383391
},
384392
{
385393
"contributions": [
386-
"doc"
394+
"doc",
395+
"code",
396+
"test"
387397
],
388398
"login": "benjamin_dichter",
389-
"name": "Benjamin Dichter"
399+
"name": "Benjamin Dichter",
400+
"profile": "https://bendichter.com/"
390401
},
391402
{
392403
"contributions": [
@@ -1999,11 +2010,14 @@
19992010
{
20002011
"avatar_url": "https://avatars.githubusercontent.com/u/6051303?v=4",
20012012
"contributions": [
2002-
"doc"
2013+
"doc",
2014+
"code",
2015+
"data",
2016+
"review"
20032017
],
20042018
"login": "markmikkelsen",
20052019
"name": "Mark Mikkelsen",
2006-
"profile": "https://vivo.weill.cornell.edu/display/cwid-mam4041"
2020+
"profile": "https://mikkelsenlab.weill.cornell.edu/"
20072021
},
20082022
{
20092023
"contributions": [
@@ -2303,6 +2317,13 @@
23032317
"login": "nicole_c_swann",
23042318
"name": "Nicole C. Swann"
23052319
},
2320+
{
2321+
"contributions": [
2322+
"doc"
2323+
],
2324+
"login": "nbeliy",
2325+
"name": "Nikita Beliy"
2326+
},
23062327
{
23072328
"contributions": [
23082329
"doc"
@@ -2636,6 +2657,13 @@
26362657
"login": "samuel_garcia",
26372658
"name": "Samuel Garcia"
26382659
},
2660+
{
2661+
"contributions": [
2662+
"doc"
2663+
],
2664+
"login": "SamGuay",
2665+
"name": "Samuel Guay"
2666+
},
26392667
{
26402668
"avatar_url": [
26412669
"https://avatars.githubusercontent.com/u/3496566?v=4"
@@ -3079,6 +3107,13 @@
30793107
"login": "viacovella",
30803108
"name": "Vittorio Iacovella"
30813109
},
3110+
{
3111+
"contributions": [
3112+
"doc"
3113+
],
3114+
"login": "viviana_siless",
3115+
"name": "Viviana Siless"
3116+
},
30823117
{
30833118
"contributions": [
30843119
"doc"

‎.tributors

Lines changed: 54 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,16 @@
244244
"name": "Anthony Galassi",
245245
"orcid": "0000-0001-6550-4574"
246246
},
247+
"arianna_sala": {
248+
"affiliation": "université de Liège, Belgium",
249+
"blog": "https://www.coma.uliege.be/people/arianna-sala/",
250+
"contributions": [
251+
"doc"
252+
],
253+
"email": "arianna.sala@uliege.be",
254+
"name": "Arianna Sala",
255+
"orcid": "0000-0001-8121-0891"
256+
},
247257
"arokem": {
248258
"affiliation": "University of Washington, Psychology, Seattle, WA, 98107, United States of America",
249259
"blog": "https://arokem.org/",
@@ -348,10 +358,17 @@
348358
"publish_email": true
349359
},
350360
"benjamin_dichter": {
361+
"affiliation": "CatalystNeuro",
362+
"blog": "https://bendichter.com/",
351363
"contributions": [
352-
"doc"
364+
"doc",
365+
"code",
366+
"test"
353367
],
354-
"name": "Benjamin Dichter"
368+
"email": "ben.dichter@catalystneuro.com",
369+
"github": "bendichter",
370+
"name": "Benjamin Dichter",
371+
"orcid": "0000-0001-5725-6910"
355372
},
356373
"benjamin_gagl": {
357374
"affiliation": "University of Vienna",
@@ -1941,12 +1958,16 @@
19411958
"name": "Marie-Hélène Bourget"
19421959
},
19431960
"markmikkelsen": {
1944-
"affiliation": "Weill Cornell Medicine, Department of Radiology, New York, NY, 10021, USA",
1945-
"blog": "https://vivo.weill.cornell.edu/display/cwid-mam4041",
1961+
"affiliation": "Weill Cornell Medicine",
1962+
"blog": "https://mikkelsenlab.weill.cornell.edu/",
19461963
"contributions": [
1947-
"doc"
1964+
"doc",
1965+
"code",
1966+
"data",
1967+
"review"
19481968
],
19491969
"email": "mam4041@med.cornell.edu",
1970+
"github": "markmikkelsen",
19501971
"name": "Mark Mikkelsen",
19511972
"orcid": "0000-0002-0349-3782",
19521973
"publish_email": true
@@ -2241,6 +2262,16 @@
22412262
],
22422263
"name": "Nicole C. Swann"
22432264
},
2265+
"nbeliy": {
2266+
"affiliation": "University of Liege (Liege, Belgium)",
2267+
"contributions": [
2268+
"doc"
2269+
],
2270+
"email": "nikita.beliy@uliege.be",
2271+
"github": "nbeliy",
2272+
"name": "Nikita Beliy",
2273+
"orcid": "0009-0002-0830-3279"
2274+
},
22442275
"nima_bigdely_shamlo": {
22452276
"contributions": [
22462277
"doc"
@@ -2556,6 +2587,16 @@
25562587
],
25572588
"name": "Samuel Garcia"
25582589
},
2590+
"SamGuay": {
2591+
"affiliation": "Université de Montréal, Montreal, Québec, CA",
2592+
"contributions": [
2593+
"doc"
2594+
],
2595+
"email": "samuel.guay@umontreal.ca",
2596+
"github": "SamGuay",
2597+
"name": "Samuel Guay",
2598+
"orcid": "0000-0001-6990-839X"
2599+
},
25592600
"snastase": {
25602601
"affiliation": "Princeton University",
25612602
"blog": "https://snastase.github.io/",
@@ -3005,6 +3046,14 @@
30053046
"name": "Vittorio Iacovella",
30063047
"orcid": "0000-0002-0853-1573"
30073048
},
3049+
"viviana_siless": {
3050+
"affiliation": "Business School, Universidad Torcuato di Tella",
3051+
"contributions": [
3052+
"doc"
3053+
],
3054+
"email": "viviana.siless@utdt.edu",
3055+
"name": "Viviana Siless"
3056+
},
30083057
"vladimir_litvak": {
30093058
"affiliation": "UCL Queen Square Institute of Neurology",
30103059
"contributions": [

‎CITATION.cff

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ cff-version: 1.2.0
55
title: The Brain Imaging Data Structure (BIDS) Specification
66

77
abstract: >-
8-
The Brain Imaging Data Structure (BIDS) is a simple and intuitive way to organize and describe data.
8+
The Brain Imaging Data Structure (BIDS) is a simple and intuitive way to organize
9+
and describe data.
910
10-
version: 1.10.0-dev
11+
version: 1.10.0
1112

1213
license: CC-BY-4.0
1314

@@ -142,6 +143,12 @@ authors:
142143
family-names: Galassi
143144
website: https://github.com/bendhouseart
144145
orcid: https://orcid.org/0000-0001-6550-4574
146+
- given-names: Arianna
147+
family-names: Sala
148+
website: https://www.coma.uliege.be/people/arianna-sala/
149+
orcid: https://orcid.org/0000-0001-8121-0891
150+
affiliation: université de Liège, Belgium
151+
email: arianna.sala@uliege.be
145152
- given-names: Ariel
146153
family-names: Rokem
147154
website: https://arokem.org/
@@ -189,6 +196,10 @@ authors:
189196
website: https://github.com/musicinmybrain
190197
- given-names: Benjamin
191198
family-names: Dichter
199+
website: https://bendichter.com/
200+
orcid: https://orcid.org/0000-0001-5725-6910
201+
affiliation: CatalystNeuro
202+
email: ben.dichter@catalystneuro.com
192203
- given-names: Benjamin
193204
family-names: Gagl
194205
orcid: https://orcid.org/0000-0002-2339-6293
@@ -872,10 +883,9 @@ authors:
872883
website: https://github.com/mariehbourget
873884
- given-names: Mark
874885
family-names: Mikkelsen
875-
website: https://vivo.weill.cornell.edu/display/cwid-mam4041
886+
website: https://mikkelsenlab.weill.cornell.edu/
876887
orcid: https://orcid.org/0000-0002-0349-3782
877-
affiliation: Weill Cornell Medicine, Department of Radiology, New York, NY, 10021,
878-
USA
888+
affiliation: Weill Cornell Medicine
879889
email: mam4041@med.cornell.edu
880890
- given-names: Markus
881891
family-names: Morawski
@@ -993,6 +1003,11 @@ authors:
9931003
family-names: Ramsey
9941004
- given-names: Nicole C.
9951005
family-names: Swann
1006+
- given-names: Nikita
1007+
family-names: Beliy
1008+
orcid: https://orcid.org/0009-0002-0830-3279
1009+
affiliation: University of Liege (Liege, Belgium)
1010+
email: nikita.beliy@uliege.be
9961011
- given-names: Nima
9971012
family-names: Bigdely Shamlo
9981013
orcid: https://orcid.org/0000-0001-6403-892X
@@ -1077,7 +1092,8 @@ authors:
10771092
email: Rik.Henson@mrc-cbu.cam.ac.uk
10781093
- given-names: Robert B.
10791094
family-names: Innis
1080-
website: https://www.nimh.nih.gov/research/research-conducted-at-nimh/research-areas/clinics-and-labs/mib/molecular-imaging-branch-mib
1095+
website:
1096+
https://www.nimh.nih.gov/research/research-conducted-at-nimh/research-areas/clinics-and-labs/mib/molecular-imaging-branch-mib
10811097
orcid: https://orcid.org/0000-0003-1238-7209
10821098
affiliation: NIMH Intramural Research Program, Bethesda, MD 20850 USA, MD 20892 USA
10831099
email: robert.innis@nih.gov
@@ -1121,6 +1137,11 @@ authors:
11211137
website: https://github.com/samirdas
11221138
- given-names: Samuel
11231139
family-names: Garcia
1140+
- given-names: Samuel
1141+
family-names: Guay
1142+
orcid: https://orcid.org/0000-0001-6990-839X
1143+
affiliation: Université de Montréal, Montreal, Québec, CA
1144+
email: samuel.guay@umontreal.ca
11241145
- given-names: Samuel
11251146
family-names: Nastase
11261147
website: https://snastase.github.io/
@@ -1312,6 +1333,10 @@ authors:
13121333
- given-names: Vittorio
13131334
family-names: Iacovella
13141335
orcid: https://orcid.org/0000-0002-0853-1573
1336+
- given-names: Viviana
1337+
family-names: Siless
1338+
affiliation: Business School, Universidad Torcuato di Tella
1339+
email: viviana.siless@utdt.edu
13151340
- given-names: Vladimir
13161341
family-names: Litvak
13171342
orcid: https://orcid.org/0000-0001-8535-7452

‎mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
site_name: Brain Imaging Data Structure 1.10.0-dev
1+
site_name: Brain Imaging Data Structure 1.10.0
22
site_url: https://bids-specification.readthedocs.io/en/stable/
33
repo_url: https://github.com/bids-standard/bids-specification
44
nav:

‎src/CHANGES.md

Lines changed: 55 additions & 47 deletions
Large diffs are not rendered by default.

‎src/schema/BIDS_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.10.0-dev
1+
1.10.0

‎src/schema/SCHEMA_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.11.3-dev
1+
0.11.3

‎tools/make_changelog.py

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
#!/usr/bin/env -S uv run
2+
# /// script
3+
# requires-python = ">=3.11"
4+
# dependencies = [
5+
# "httpx",
6+
# ]
7+
# ///
8+
9+
# How to use this script:
10+
# 1. Go to https://github.com/bids-standard/bids-specification/releases/new and
11+
# generate a new changelog. Do not release. Paste the contents into `auto-changelog.txt`.
12+
# 2. Generate a GitHub token at https://github.com/settings/tokens with `public_repo` scope.
13+
# Set the `GITHUB_TOKEN` environment variable to the token.
14+
# 3. Run this script with `uv run`, `pipx run`, `pip run` or similar. Or run with Python,
15+
# but you will need to install httpx into your environment.
16+
#
17+
# This will output to stdout the PRs that are not excluded from the changelog.
18+
#
19+
# Future versions could modify the changelog file in place, but this is the limit of my
20+
# interest for now.
21+
22+
import asyncio
23+
import os
24+
import re
25+
import sys
26+
from pathlib import Path
27+
28+
import httpx
29+
30+
GITHUB_TOKEN = os.getenv("GITHUB_TOKEN")
31+
REPO_OWNER = "bids-standard"
32+
REPO_NAME = "bids-specification"
33+
34+
if not GITHUB_TOKEN:
35+
raise ValueError("Please set the GITHUB_TOKEN environment variable")
36+
37+
auto_changelog = Path("auto-changelog.txt")
38+
39+
if not auto_changelog.exists():
40+
raise FileNotFoundError("auto-changelog.txt not found")
41+
42+
pr_numbers = reversed(
43+
[line.split("/")[-1] for line in auto_changelog.read_text().splitlines()]
44+
)
45+
46+
headers = {
47+
"Authorization": f"Bearer {GITHUB_TOKEN}",
48+
"X-GitHub-Api-Version": "2022-11-28",
49+
"Accept": "application/vnd.github.v3+json",
50+
}
51+
52+
53+
async def get_pr_details(client, pr_number):
54+
url = f"https://api.github.com/repos/{REPO_OWNER}/{REPO_NAME}/pulls/{pr_number}"
55+
56+
response = await client.get(url)
57+
58+
if response.status_code == 200:
59+
pr_data = response.json()
60+
labels = [label["name"] for label in pr_data.get("labels", [])]
61+
62+
if "exclude-from-changelog" not in labels:
63+
return (
64+
pr_data.get("title"),
65+
pr_data.get("html_url"),
66+
pr_data["user"]["login"],
67+
pr_data["user"]["html_url"],
68+
)
69+
else:
70+
print(
71+
f"Failed to fetch PR #{pr_number}: {response.status_code}", file=sys.stderr
72+
)
73+
return (None, None, None, None)
74+
75+
76+
async def main():
77+
cat = re.compile(r"^\[[^\]]+\]")
78+
async with httpx.AsyncClient(headers=headers) as client:
79+
pr_summaries = {}
80+
for pr_number in pr_numbers:
81+
title, pr_url, username, user_url = await get_pr_details(client, pr_number)
82+
if title:
83+
category = cat.match(title).group()
84+
pr_summaries.setdefault(category, []).append(
85+
f"- {title} [{pr_number}]({pr_url}) ([{username}]({user_url}))"
86+
)
87+
88+
for category in sorted(pr_summaries):
89+
for pr_summary in pr_summaries[category]:
90+
print(pr_summary)
91+
92+
93+
if __name__ == "__main__":
94+
asyncio.run(main())

0 commit comments

Comments
 (0)
Please sign in to comment.