Skip to content

Commit c344ec1

Browse files
mne-botlarsoner
andauthored
MAINT: Update code credit (mne-tools#14009)
Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
1 parent 6f04dcb commit c344ec1

54 files changed

Lines changed: 2235 additions & 1 deletion

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.mailmap

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Arne Pelzer <arne.pelzer@idmt.fraunhofer.de> aplzr <7202498+aplzr@users.noreply.
2929
Arne Pelzer <arne.pelzer@idmt.fraunhofer.de> pzr <arne.pelzer@idmt.fraunhofer.de>
3030
Ashley Drew <ashdrew@uw.edu> ashdrew <33734402+ashdrew@users.noreply.github.com>
3131
Asish Panda <asishrocks95@gmail.com> kaichogami <asishrocks95@gmail.com>
32+
Athish M <athishdresu@gmail.com>
3233
Basile Pinsard <basile.pinsard@umontreal.ca>
3334
Brad Buran <bburan@galenea.com> Brad Buran <bburan@alum.mit.edu>
3435
Britta Westner <britta.wstnr@gmail.com> britta-wstnr <britta.wstnr@gmail.com>
@@ -111,6 +112,7 @@ Evgeny Goldstein <84768107+evgenygoldstein@users.noreply.github.com> evgenygolds
111112
Ezequiel Mikulan <e.mikulan@gmail.com> ezemikulan <39155887+ezemikulan@users.noreply.github.com>
112113
Fahimeh Mamashli <33672431+fmamashli@users.noreply.github.com> fmamashli <33672431+fmamashli@users.noreply.github.com>
113114
Famous Raj Bhat <famousrajbhatt@gmail.com> Horizon_Architect_07 <famousrajbhatt@gmail.com>
115+
Farzah11 <184847039+Farzah11@users.noreply.github.com>
114116
Fede Raimondo <federaimondo@gmail.com> Fede <slashack@gmail.com>
115117
Fede Raimondo <federaimondo@gmail.com> Fede Raimondo <federaimondo@gmail.com>
116118
Fede Raimondo <federaimondo@gmail.com> Fede Raimondo <fraimondo@dc.uba.ar>
@@ -286,6 +288,7 @@ Paul Pasler <paul@ppasler.de> ppasler <paul@ppasler.de>
286288
Paul Roujansky <paul@roujansky.eu> Paul ROUJANSKY <paul.roujansky@bioserenity.com>
287289
Paul Roujansky <paul@roujansky.eu> paulroujansky <paul@roujansky.eu>
288290
Pavel Navratil <pavel.navratil@localhost>
291+
Payam Sadeghi-Shabestari <payam.sadeghi74@gmail.com>
289292
Pedro Silva <pedrobnsilva@gmail.com> pbnsilva <pedrobnsilva@gmail.com>
290293
Phillip Alday <phillip.alday@mpi.nl> Phillip Alday <palday@users.noreply.github.com>
291294
Phillip Alday <phillip.alday@mpi.nl> Phillip Alday <phillip.alday@unisa.edu.au>
@@ -356,6 +359,7 @@ Teon L Brooks <teon.brooks@gmail.com> Teon <teon@nyu.edu>
356359
Teon L Brooks <teon.brooks@gmail.com> Teon Brooks <teon@nyu.edu>
357360
Thomas Donoghue <tdonoghue.research@gmail.com> Tom <tdonoghue.research@gmail.com>
358361
Thomas Radman <radman.thomas@gmail.com>
362+
Théo Castillo <theocastillo@yahoo.com>
359363
Timon Merk <timon.merk@charite.de>
360364
Timon Merk <timon.merk@charite.de> Timon Merk <38216460+timonmerk@users.noreply.github.com>
361365
Timon Merk <timon.merk@charite.de> timonmerk <38216460+timonmerk@users.noreply.github.com>

doc/sphinxext/credit_tools.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
# Allowed singletons
4141
single_names = """
4242
btkcodedev buildqa sviter Akshay user27182 Mojackhak mne[bot] varshaa-1616
43+
Farzah11
4344
""".strip().split()
4445
# Surnames where we have more than one distinct contributor:
4546
name_counts = dict(
@@ -55,6 +56,7 @@
5556
)
5657
# Exceptions, e.g., abbrevitaions in first/last name or all-caps
5758
exceptions = [
59+
"Athish M",
5860
"Natneal B",
5961
"T. Wang",
6062
"Ziyi ZENG",
@@ -71,6 +73,7 @@
7173
"Basile": "Basile Pinsard", # 1791
7274
"Bru": "Bruno Aristimunha", # 13489
7375
"ChristinaZhao": "Christina Zhao", # 9075
76+
"Deep ": "Deep Kaur", # 13846
7477
"Drew, J.": "Jordan Drew", # 10861
7578
"enzo": "Enzo Altamiranda", # 11351
7679
"Emma": "Emma Zhang", # 13486
@@ -238,6 +241,10 @@ def generate_credit_rst(app=None, *, verbose=False):
238241
if author["e"]:
239242
expected_bad_names[name] += f" email {author['e']}"
240243
assert name.strip(), repr(name)
244+
assert name == name.strip(), (
245+
f"Un-stripped name from {commit}, "
246+
f"add to manual_renames: {repr(name)}"
247+
)
241248
used_authors.add(name)
242249
# treat moves and permission changes like a single-line change
243250
if p == m == 0:
@@ -255,7 +262,6 @@ def generate_credit_rst(app=None, *, verbose=False):
255262
bad_names = set()
256263
for these_stats in stats.values():
257264
for name in these_stats:
258-
assert name == name.strip(), f"Un-stripped name: {repr(name)}"
259265
last = name.split()[-1]
260266
first = name.split()[0]
261267
last_map[last].add(name)

doc/sphinxext/prs/12946.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"merge_commit_sha": "b903219c44ea2788cdb9d107515ab67c9e06bca6",
3+
"authors": [
4+
{
5+
"n": "Stefan Appelhoff",
6+
"e": "stefan.appelhoff@mailbox.org"
7+
}
8+
],
9+
"changes": {
10+
"doc/.gitignore": {
11+
"a": 1,
12+
"d": 1
13+
},
14+
"doc/api/preprocessing.rst": {
15+
"a": 1,
16+
"d": 0
17+
},
18+
"doc/changes/dev/12946.newfeature.rst": {
19+
"a": 1,
20+
"d": 0
21+
},
22+
"mne/preprocessing/eyetracking/__init__.py": {
23+
"a": 1,
24+
"d": 1
25+
},
26+
"mne/preprocessing/eyetracking/eyetracking.py": {
27+
"a": 116,
28+
"d": 2
29+
},
30+
"mne/preprocessing/eyetracking/tests/test_eyetracking.py": {
31+
"a": 38,
32+
"d": 0
33+
},
34+
"tutorials/preprocessing/90_eyetracking_data.py": {
35+
"a": 21,
36+
"d": 6
37+
}
38+
}
39+
}

doc/sphinxext/prs/13323.json

Lines changed: 275 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,275 @@
1+
{
2+
"merge_commit_sha": "cfa2a2bc656c5980a1c74b8640bc11dcbe75476f",
3+
"authors": [
4+
{
5+
"n": "Eric Larson",
6+
"e": "larson.eric.d@gmail.com"
7+
},
8+
{
9+
"n": "autofix-ci[bot]",
10+
"e": "114827586+autofix-ci[bot]@users.noreply.github.com"
11+
}
12+
],
13+
"changes": {
14+
".github/workflows/tests.yml": {
15+
"a": 7,
16+
"d": 5
17+
},
18+
".gitignore": {
19+
"a": 1,
20+
"d": 0
21+
},
22+
"azure-pipelines.yml": {
23+
"a": 16,
24+
"d": 13
25+
},
26+
"doc/_static/flow_diagram.svg": {
27+
"a": 1,
28+
"d": 1
29+
},
30+
"doc/changes/v0.20.rst": {
31+
"a": 1,
32+
"d": 1
33+
},
34+
"doc/changes/v0.24.rst": {
35+
"a": 2,
36+
"d": 2
37+
},
38+
"doc/changes/v0.9.rst": {
39+
"a": 1,
40+
"d": 1
41+
},
42+
"doc/changes/v1.1.rst": {
43+
"a": 1,
44+
"d": 1
45+
},
46+
"doc/changes/v1.10.rst": {
47+
"a": 1,
48+
"d": 1
49+
},
50+
"doc/changes/v1.3.rst": {
51+
"a": 1,
52+
"d": 1
53+
},
54+
"doc/changes/v1.4.rst": {
55+
"a": 2,
56+
"d": 2
57+
},
58+
"doc/changes/v1.8.rst": {
59+
"a": 1,
60+
"d": 1
61+
},
62+
"doc/documentation/glossary.rst": {
63+
"a": 1,
64+
"d": 1
65+
},
66+
"doc/help/faq.rst": {
67+
"a": 3,
68+
"d": 3
69+
},
70+
"doc/install/freesurfer.rst": {
71+
"a": 1,
72+
"d": 1
73+
},
74+
"doc/mne_cpp.rst": {
75+
"a": 1,
76+
"d": 1
77+
},
78+
"doc/sphinxext/flow_diagram.py": {
79+
"a": 2,
80+
"d": 2
81+
},
82+
"examples/visualization/brain.py": {
83+
"a": 3,
84+
"d": 3
85+
},
86+
"mne/_fiff/tests/test_constants.py": {
87+
"a": 1,
88+
"d": 1
89+
},
90+
"mne/_freesurfer.py": {
91+
"a": 12,
92+
"d": 12
93+
},
94+
"mne/bem.py": {
95+
"a": 5,
96+
"d": 5
97+
},
98+
"mne/channels/tests/test_channels.py": {
99+
"a": 1,
100+
"d": 1
101+
},
102+
"mne/commands/mne_flash_bem.py": {
103+
"a": 1,
104+
"d": 1
105+
},
106+
"mne/commands/mne_freeview_bem_surfaces.py": {
107+
"a": 1,
108+
"d": 1
109+
},
110+
"mne/commands/mne_surf2bem.py": {
111+
"a": 1,
112+
"d": 1
113+
},
114+
"mne/commands/mne_sys_info.py": {
115+
"a": 5,
116+
"d": 2
117+
},
118+
"mne/conftest.py": {
119+
"a": 71,
120+
"d": 19
121+
},
122+
"mne/datasets/_fsaverage/base.py": {
123+
"a": 1,
124+
"d": 1
125+
},
126+
"mne/decoding/tests/test_search_light.py": {
127+
"a": 0,
128+
"d": 5
129+
},
130+
"mne/decoding/tests/test_ssd.py": {
131+
"a": 1,
132+
"d": 1
133+
},
134+
"mne/dipole.py": {
135+
"a": 1,
136+
"d": 1
137+
},
138+
"mne/forward/_field_interpolation.py": {
139+
"a": 1,
140+
"d": 1
141+
},
142+
"mne/io/egi/tests/test_egi.py": {
143+
"a": 6,
144+
"d": 14
145+
},
146+
"mne/io/fiff/tests/test_raw_fiff.py": {
147+
"a": 1,
148+
"d": 1
149+
},
150+
"mne/label.py": {
151+
"a": 4,
152+
"d": 4
153+
},
154+
"mne/preprocessing/ieeg/_volume.py": {
155+
"a": 1,
156+
"d": 1
157+
},
158+
"mne/report/tests/test_report.py": {
159+
"a": 2,
160+
"d": 3
161+
},
162+
"mne/source_space/_source_space.py": {
163+
"a": 2,
164+
"d": 2
165+
},
166+
"mne/surface.py": {
167+
"a": 8,
168+
"d": 8
169+
},
170+
"mne/tests/test_bem.py": {
171+
"a": 15,
172+
"d": 17
173+
},
174+
"mne/tests/test_freesurfer.py": {
175+
"a": 2,
176+
"d": 2
177+
},
178+
"mne/tests/test_surface.py": {
179+
"a": 2,
180+
"d": 2
181+
},
182+
"mne/tests/test_transforms.py": {
183+
"a": 1,
184+
"d": 1
185+
},
186+
"mne/transforms.py": {
187+
"a": 2,
188+
"d": 2
189+
},
190+
"mne/utils/_testing.py": {
191+
"a": 4,
192+
"d": 4
193+
},
194+
"mne/utils/config.py": {
195+
"a": 67,
196+
"d": 56
197+
},
198+
"mne/utils/docs.py": {
199+
"a": 1,
200+
"d": 1
201+
},
202+
"mne/utils/tests/test_config.py": {
203+
"a": 15,
204+
"d": 5
205+
},
206+
"mne/utils/tests/test_numerics.py": {
207+
"a": 3,
208+
"d": 3
209+
},
210+
"mne/utils/tests/test_progressbar.py": {
211+
"a": 1,
212+
"d": 1
213+
},
214+
"mne/viz/_3d.py": {
215+
"a": 1,
216+
"d": 1
217+
},
218+
"mne/viz/_brain/_brain.py": {
219+
"a": 1,
220+
"d": 1
221+
},
222+
"pyproject.toml": {
223+
"a": 11,
224+
"d": 7
225+
},
226+
"tools/azure_dependencies.sh": {
227+
"a": 1,
228+
"d": 1
229+
},
230+
"tools/check_qt_import.sh": {
231+
"a": 4,
232+
"d": 0
233+
},
234+
"tools/get_minimal_commands.sh": {
235+
"a": 10,
236+
"d": 1
237+
},
238+
"tools/github_actions_dependencies.sh": {
239+
"a": 13,
240+
"d": 6
241+
},
242+
"tools/github_actions_env_vars.sh": {
243+
"a": 19,
244+
"d": 4
245+
},
246+
"tools/github_actions_verify_python.sh": {
247+
"a": 15,
248+
"d": 1
249+
},
250+
"tools/install_pre_requirements.sh": {
251+
"a": 1,
252+
"d": 1
253+
},
254+
"tutorials/clinical/20_seeg.py": {
255+
"a": 2,
256+
"d": 2
257+
},
258+
"tutorials/forward/20_source_alignment.py": {
259+
"a": 5,
260+
"d": 5
261+
},
262+
"tutorials/forward/30_forward.py": {
263+
"a": 1,
264+
"d": 1
265+
},
266+
"tutorials/forward/50_background_freesurfer_mne.py": {
267+
"a": 1,
268+
"d": 1
269+
},
270+
"tutorials/inverse/70_eeg_mri_coords.py": {
271+
"a": 2,
272+
"d": 2
273+
}
274+
}
275+
}

0 commit comments

Comments
 (0)