Skip to content

Commit 5b06ca4

Browse files
MAINT: Update code credit (#13031)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
1 parent 610ec2a commit 5b06ca4

File tree

5 files changed

+142
-6
lines changed

5 files changed

+142
-6
lines changed

.github/workflows/credit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ jobs:
3838
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
3939
git config --global user.name "github-actions[bot]"
4040
git checkout -b credit
41-
git commit -am "MAINT: Update code credit [ci skip]"
41+
git commit -am "MAINT: Update code credit"
4242
git push origin credit
43-
PR_NUM=$(gh pr create --base main --head credit --title "MAINT: Update code credit" --body "Created by credit GitHub action." --label "no-changelog-entry-needed")
43+
PR_NUM=$(gh pr create --base main --head credit --title "MAINT: Update code credit" --body "Created by credit [GitHub action](https://github.com/mne-tools/mne-python/actions/runs/${{ github.run_id }})." --label "no-changelog-entry-needed")
4444
echo "Opened https://github.com/mne-tools/mne-python/pull/${PR_NUM}" >> $GITHUB_STEP_SUMMARY
4545
if: steps.status.outputs.dirty == 'true'

doc/documentation/cited.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Papers citing MNE-Python
44
========================
55

6-
Estimates provided by Google Scholar as of 18 August 2024:
6+
Estimates provided by Google Scholar as of 16 December 2024:
77

8-
- `MNE (1810) <https://scholar.google.com/scholar?cites=12188330066413208874&as_ylo=2014>`_
9-
- `MNE-Python (2860) <https://scholar.google.com/scholar?cites=1521584321377182930&as_ylo=2013>`_
8+
- `MNE (1,900) <https://scholar.google.com/scholar?cites=12188330066413208874&as_ylo=2014>`_
9+
- `MNE-Python (3,250) <https://scholar.google.com/scholar?cites=1521584321377182930&as_ylo=2013>`_

doc/sphinxext/prs/13029.json

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
{
2+
"merge_commit_sha": "f3a7fde522d69bc5bbc15844718812c7ab6480f4",
3+
"authors": [
4+
{
5+
"n": "github-actions[bot]",
6+
"e": "41898282+github-actions[bot]@users.noreply.github.com"
7+
}
8+
],
9+
"changes": {
10+
"doc/sphinxext/prs/12896.json": {
11+
"a": 27,
12+
"d": 0
13+
},
14+
"doc/sphinxext/prs/12995.json": {
15+
"a": 15,
16+
"d": 0
17+
},
18+
"doc/sphinxext/prs/12996.json": {
19+
"a": 39,
20+
"d": 0
21+
},
22+
"doc/sphinxext/prs/12997.json": {
23+
"a": 15,
24+
"d": 0
25+
},
26+
"doc/sphinxext/prs/12998.json": {
27+
"a": 131,
28+
"d": 0
29+
},
30+
"doc/sphinxext/prs/12999.json": {
31+
"a": 27,
32+
"d": 0
33+
},
34+
"doc/sphinxext/prs/13000.json": {
35+
"a": 27,
36+
"d": 0
37+
},
38+
"doc/sphinxext/prs/13001.json": {
39+
"a": 19,
40+
"d": 0
41+
},
42+
"doc/sphinxext/prs/13003.json": {
43+
"a": 47,
44+
"d": 0
45+
},
46+
"doc/sphinxext/prs/13007.json": {
47+
"a": 31,
48+
"d": 0
49+
},
50+
"doc/sphinxext/prs/13009.json": {
51+
"a": 23,
52+
"d": 0
53+
},
54+
"doc/sphinxext/prs/13010.json": {
55+
"a": 19,
56+
"d": 0
57+
},
58+
"doc/sphinxext/prs/13011.json": {
59+
"a": 47,
60+
"d": 0
61+
},
62+
"doc/sphinxext/prs/13012.json": {
63+
"a": 35,
64+
"d": 0
65+
},
66+
"doc/sphinxext/prs/13015.json": {
67+
"a": 15,
68+
"d": 0
69+
},
70+
"doc/sphinxext/prs/13017.json": {
71+
"a": 15,
72+
"d": 0
73+
},
74+
"doc/sphinxext/prs/13018.json": {
75+
"a": 39,
76+
"d": 0
77+
},
78+
"doc/sphinxext/prs/13019.json": {
79+
"a": 27,
80+
"d": 0
81+
},
82+
"doc/sphinxext/prs/13020.json": {
83+
"a": 15,
84+
"d": 0
85+
},
86+
"doc/sphinxext/prs/13021.json": {
87+
"a": 59,
88+
"d": 0
89+
}
90+
}
91+
}

doc/sphinxext/prs/6915.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"merge_commit_sha": "610ec2a50d7a0e17d1ae8a229793a51370dec81d",
3+
"authors": [
4+
{
5+
"n": "Fahimeh Mamashli",
6+
"e": "fahimeh.mamashli@pfizer.com"
7+
},
8+
{
9+
"n": "Mainak Jas",
10+
"e": "jasmainak@users.noreply.github.com"
11+
},
12+
{
13+
"n": "Eric Larson",
14+
"e": "larson.eric.d@gmail.com"
15+
}
16+
],
17+
"changes": {
18+
".github/workflows/tests.yml": {
19+
"a": 2,
20+
"d": 2
21+
},
22+
"doc/changes/devel/6915.newfeature.rst": {
23+
"a": 1,
24+
"d": 0
25+
},
26+
"examples/datasets/brainstorm_data.py": {
27+
"a": 2,
28+
"d": 3
29+
},
30+
"mne/preprocessing/stim.py": {
31+
"a": 56,
32+
"d": 9
33+
},
34+
"mne/preprocessing/tests/test_stim.py": {
35+
"a": 35,
36+
"d": 0
37+
},
38+
"tools/install_pre_requirements.sh": {
39+
"a": 8,
40+
"d": 2
41+
}
42+
}
43+
}

tools/dev/update_credit_json.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
g = Github(auth=auth, per_page=100)
2121
out_path = Path(__file__).parents[2] / "doc" / "sphinxext" / "prs"
2222
out_path.mkdir(exist_ok=True)
23-
oldest_pr = 6915 # can update this when the oldest open PR changes to speed things up
23+
# manually update this when the oldest open PR changes to speed things up
24+
# (don't need to look any farther back than this)
25+
oldest_pr = 9176
2426

2527
# JSON formatting
2628
json_kwargs = dict(indent=2, ensure_ascii=False, sort_keys=False)

0 commit comments

Comments
 (0)