Skip to content
Merged

Staging #1132

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
c6107c0
Add github action to codespell main on push and PRs
yarikoptic Aug 17, 2023
bd5a72a
Add rudimentary codespell config
yarikoptic Aug 17, 2023
e0aafd2
Extensive ignores list
yarikoptic Aug 17, 2023
6863baa
embed some serialized embeddings in notebooks
yarikoptic Aug 17, 2023
f37f5ef
ignore embedded videos
yarikoptic Aug 17, 2023
4aaeb81
some ambigous typos fixed manually
yarikoptic Aug 17, 2023
c1e752e
ignore a name
yarikoptic Aug 17, 2023
49b7c10
ignore yet another way to embed images
yarikoptic Aug 17, 2023
aecd7de
[DATALAD RUNCMD] Do interactive fixing of some ambigous typos
yarikoptic Aug 17, 2023
9cb1a15
one more name to ignore
yarikoptic Aug 30, 2023
3b790d0
Ignore name Christina Savin from codespell
yarikoptic Jul 21, 2024
28394a4
Interactively fix typos in the projects/neurons/load_Allen_Visual_Beh…
yarikoptic Jul 21, 2024
556d693
[DATALAD RUNCMD] run codespell throughout fixing typos automagically
yarikoptic Jul 21, 2024
1ec97d1
Merge pull request #1083 from yarikoptic/enh-codespell
iamzoltan Feb 12, 2025
0900dae
Update .codespellrc
iamzoltan Feb 12, 2025
e961c60
Update codespell.yml
iamzoltan Feb 12, 2025
1b66c18
Update W3D4_Tutorial1.ipynb
iamzoltan Feb 12, 2025
499fda1
Update notebook-pr.yaml
iamzoltan Feb 16, 2025
7d1b3b0
Update notebook-pr.yaml
iamzoltan Feb 16, 2025
ccae31d
Process tutorial notebooks
actions-user Feb 16, 2025
fcc4994
Update notebook-pr.yaml
iamzoltan Feb 16, 2025
08ae349
Process tutorial notebooks
actions-user Feb 16, 2025
8faa313
Update notebook-pr.yaml
iamzoltan Feb 16, 2025
834e336
Process tutorial notebooks
actions-user Feb 16, 2025
b3c5acf
Update notebook-pr.yaml
iamzoltan Feb 16, 2025
21540bc
Process tutorial notebooks
actions-user Feb 16, 2025
ee996d6
Update notebook-pr.yaml
iamzoltan Feb 16, 2025
d18dc58
Process tutorial notebooks
actions-user Feb 16, 2025
e620a03
Update notebook-pr.yaml
iamzoltan Feb 16, 2025
de48f42
Update notebook-pr.yaml
iamzoltan Feb 16, 2025
bd0a3e7
Process tutorial notebooks
actions-user Feb 16, 2025
5600241
Update notebook-pr.yaml
iamzoltan Feb 16, 2025
452f339
Update notebook-pr.yaml
iamzoltan Feb 17, 2025
2fe22d3
Update requirements.txt
iamzoltan Feb 17, 2025
c3492c3
Update notebook-pr.yaml
iamzoltan Feb 17, 2025
556c463
Merge pull request #1133 from NeuromatchAcademy/iamzoltan-patch-1
iamzoltan Feb 17, 2025
6123667
Update notebook-pr.yaml ci:check
iamzoltan Feb 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[codespell]
skip = .git,*.pdf,*.svg, */student/*, */instructor/*
# ignore embedded images or javascript in notebooks
ignore-regex = (^\s*("image/\S+": ".*|"!function.*"|"[^\s]{30,100}\\\\n"|" <source src=\S+;base64.*"|"!\[.*\]\(data:.*;base64,.*))|'t Hart|Chater, N\.|\bChristina Savin\b
# ignore all kinds of short up to 3 letter variables found to be used throughout
ignore-words-list = 3nd,4rd,aci,acn,afe,ags,als,bu,bui,caf,cna,daa,ede,esy,fle,fo,fof,fwe,hax,hge,hte,hve,iif,inh,ist,ket,mis,mor,mot,nam,nax,nce,nd,ned,nin,nwe,nwo,oce,ofo,ois,oly,onl,onw,ot,oyu,siz,tbe,te,teh,tha,tht,thw,ue,wee,wew,wih,wll,wqs,wth,yau,yse,zar,
20 changes: 20 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Codespell

on:
pull_request:
branches: [main]

permissions:
contents: read

jobs:
codespell:
name: Check for spelling errors
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Codespell
uses: codespell-project/actions-codespell@v2
2 changes: 2 additions & 0 deletions .github/workflows/notebook-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ jobs:
id: process_notebooks
run: |
branch=${{ github.event.pull_request.head.ref }}
# nbs="projects/ECoG/*.ipynb projects/neurons/*.ipynb";
# nbs="tutorials/Bonus_Autoencoders/*Tutorial*.ipynb";
nbs=`python ci/select_notebooks.py ${{ steps.changed-files.outputs.all_changed_files }}`
if ${{ contains(env.COMMIT_MESSAGE, 'ci:check') }}; then
execflag="--check-execution";
Expand Down
4 changes: 2 additions & 2 deletions projects/ECoG/exploreAJILE12.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@
},
"source": [
"### Access to data on cloud\n",
"The data is hosted on [AMAZON AWS](https://aws.amazon.com) in **S3** buckets. The following steps guide you to locate the data based on the **dandiset** information, setup streaming and reading the data from the cloud. Alternatively, you can access the data on **[DANDI](https://dandiarchive.org/dandiset/000055?search=ajile12&pos=1)**. If you choose to directly download from DANDI, you will need a github account. The following code will be sufficient to programatically download/stream data (either for colab notebook or for your own personal machine)."
"The data is hosted on [AMAZON AWS](https://aws.amazon.com) in **S3** buckets. The following steps guide you to locate the data based on the **dandiset** information, setup streaming and reading the data from the cloud. Alternatively, you can access the data on **[DANDI](https://dandiarchive.org/dandiset/000055?search=ajile12&pos=1)**. If you choose to directly download from DANDI, you will need a github account. The following code will be sufficient to programmatically download/stream data (either for colab notebook or for your own personal machine)."
]
},
{
Expand Down Expand Up @@ -857,7 +857,7 @@
"execution": {}
},
"source": [
"Each subject has multiple experimental sessions. You can check that programatically."
"Each subject has multiple experimental sessions. You can check that programmatically."
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion projects/ECoG/load_ECoG_motor_imagery.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
"\n",
"`dat1` and `dat2` are data from the two blocks performed in each subject. The first one was the actual movements, the second one was motor imagery. For the movement task, from the original dataset instructions:\n",
"\n",
"*Patients performed simple, repetitive, motor tasks of hand (synchronous flexion and extension of all fingers, i.e., clenching and releasing a fist at a self-paced rate of ~1-2 Hz) or tongue (opening of mouth with protrusion and retraction of the tongue, i.e., sticking the tongue in and out, also at ~1-2 Hz). These movements were performed in an interval-based manner, alternating between movement and rest, and the side of move- ment was always contralateral to the side of cortical grid placement.*\n",
"*Patients performed simple, repetitive, motor tasks of hand (synchronous flexion and extension of all fingers, i.e., clenching and releasing a fist at a self-paced rate of ~1-2 Hz) or tongue (opening of mouth with protrusion and retraction of the tongue, i.e., sticking the tongue in and out, also at ~1-2 Hz). These movements were performed in an interval-based manner, alternating between movement and rest, and the side of move- meant was always contralateral to the side of cortical grid placement.*\n",
"\n",
"<br>\n",
"\n",
Expand Down
606 changes: 176 additions & 430 deletions projects/behavior/Loading_CalMS21_data.ipynb

Large diffs are not rendered by default.

Loading
Loading