Skip to content

Commit

Permalink
Merge pull request #410 from yarikoptic/enh-codespell
Browse files Browse the repository at this point in the history
codespell: workflow, config, typos fixed
  • Loading branch information
surchs authored May 9, 2023
2 parents c919b14 + 41bd5b2 commit 5bee4a9
Show file tree
Hide file tree
Showing 12 changed files with 40 additions and 17 deletions.
4 changes: 4 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[codespell]
skip = .git,*.pdf,*.svg,package-lock.json
#
# ignore-words-list =
19 changes: 19 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Codespell

on:
push:
branches: [master]
pull_request:
branches: [master]

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@v1
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ npm run generate
npm run deploy
```

See the [Nuxt documention](https://nuxtjs.org/deployments/github-pages/) for more details.
See the [Nuxt documentation](https://nuxtjs.org/deployments/github-pages/) for more details.

## Special Directories

Expand Down
2 changes: 1 addition & 1 deletion components/category-select-table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
// 1. Save the newly selected category, if given
this.selectedCategory = p_row[0].category;
// 2. Tell the parent page about the category selction
// 2. Tell the parent page about the category selection
this.$emit("category-select", { category: this.selectedCategory });
}
},
Expand Down
2 changes: 1 addition & 1 deletion components/file-selector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
complete: results => {
// I. Returned results inlcude data and filename
// I. Returned results include data and filename
const myJson = {
data: results.data,
Expand Down
4 changes: 2 additions & 2 deletions cypress/fixtures/examples/good/ds003653_participant.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
},
"medload": {
"Description": "reflects the number of dosage of psychotropic medications taken by participants. Higher numbers correspond to more medications and/or higher medication dosage ",
"Units": "arbitraty units"
"Units": "arbitrary units"
},
"iq": {
"Description": "IQ derived based on the NART assessment.",
"Units": "arbitraty units"
"Units": "arbitrary units"
},
"session": {
"Description": "scanning session",
Expand Down
4 changes: 2 additions & 2 deletions cypress/fixtures/examples/good/example.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
},
"medload": {
"Description": "reflects the number of dosage of psychotropic medications taken by participants. Higher numbers correspond to more medications and/or higher medication dosage ",
"Units": "arbitraty units"
"Units": "arbitrary units"
},
"iq": {
"Description": "IQ derived based on the NART assessment.",
"Units": "arbitraty units"
"Units": "arbitrary units"
},
"stroop": {
"Description": "Reaction time in a Stroop task experiment.",
Expand Down
12 changes: 6 additions & 6 deletions cypress/fixtures/examples/interesting/ds001919_participant.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ sub-mniS06 M 33 2019-03-05 mni "Montreal Neurological Institute, McGill Universi
sub-mniS07 F 40 2019-03-07 mni "Montreal Neurological Institute, McGill University" Siemens Prisma-fit 64ch+spine VE11C "Benjamin De Leener, Julien Doyon"
sub-mniS08 F 28 2019-03-12 mni "Montreal Neurological Institute, McGill University" Siemens Prisma-fit 64ch+spine VE11C "Benjamin De Leener, Julien Doyon"
sub-mniS09 F 42 2019-03-12 mni "Montreal Neurological Institute, McGill University" Siemens Prisma-fit 64ch+spine VE11C "Benjamin De Leener, Julien Doyon"
sub-mountSinai01 M 40 2019-03-12 mountSinai "BMEII (formely TMII), Icahn School of Medicine at Mount Sinai, New York, NY USA" Siemens Skyra Spine_32 VE11C "J. Xu, A. Seifert, J-W. Kim"
sub-mountSinai02 M 26 2019-03-12 mountSinai "BMEII (formely TMII), Icahn School of Medicine at Mount Sinai, New York, NY USA" Siemens Skyra Spine_32 VE11C "J. Xu, A. Seifert, J-W. Kim"
sub-mountSinai03 M 37 2019-03-05 mountSinai "BMEII (formely TMII), Icahn School of Medicine at Mount Sinai, New York, NY USA" Siemens Skyra Spine_32 VE11C "J. Xu, A. Seifert, J-W. Kim"
sub-mountSinai04 M 37 2019-03-25 mountSinai "BMEII (formely TMII), Icahn School of Medicine at Mount Sinai, New York, NY USA" Siemens Skyra Spine_32 VE11C "J. Xu, A. Seifert, J-W. Kim"
sub-mountSinai05 M 31 2019-03-25 mountSinai "BMEII (formely TMII), Icahn School of Medicine at Mount Sinai, New York, NY USA" Siemens Skyra Spine_32 VE11C "J. Xu, A. Seifert, J-W. Kim"
sub-mountSinai06 M 31 2019-03-25 mountSinai "BMEII (formely TMII), Icahn School of Medicine at Mount Sinai, New York, NY USA" Siemens Skyra Spine_32 VE11C "J. Xu, A. Seifert, J-W. Kim"
sub-mountSinai01 M 40 2019-03-12 mountSinai "BMEII (formerly TMII), Icahn School of Medicine at Mount Sinai, New York, NY USA" Siemens Skyra Spine_32 VE11C "J. Xu, A. Seifert, J-W. Kim"
sub-mountSinai02 M 26 2019-03-12 mountSinai "BMEII (formerly TMII), Icahn School of Medicine at Mount Sinai, New York, NY USA" Siemens Skyra Spine_32 VE11C "J. Xu, A. Seifert, J-W. Kim"
sub-mountSinai03 M 37 2019-03-05 mountSinai "BMEII (formerly TMII), Icahn School of Medicine at Mount Sinai, New York, NY USA" Siemens Skyra Spine_32 VE11C "J. Xu, A. Seifert, J-W. Kim"
sub-mountSinai04 M 37 2019-03-25 mountSinai "BMEII (formerly TMII), Icahn School of Medicine at Mount Sinai, New York, NY USA" Siemens Skyra Spine_32 VE11C "J. Xu, A. Seifert, J-W. Kim"
sub-mountSinai05 M 31 2019-03-25 mountSinai "BMEII (formerly TMII), Icahn School of Medicine at Mount Sinai, New York, NY USA" Siemens Skyra Spine_32 VE11C "J. Xu, A. Seifert, J-W. Kim"
sub-mountSinai06 M 31 2019-03-25 mountSinai "BMEII (formerly TMII), Icahn School of Medicine at Mount Sinai, New York, NY USA" Siemens Skyra Spine_32 VE11C "J. Xu, A. Seifert, J-W. Kim"
sub-mpicbs01 F 29 2019-03-26 mpicbs Max Planck Institute for Human Cognitive and Brain Sciences Siemens Prisma-fit 64ch+spine VE11C "F. Eippert, T. Leutritz, N. Weiskopf"
sub-mpicbs02 F 30 2019-04-04 mpicbs Max Planck Institute for Human Cognitive and Brain Sciences Siemens Prisma-fit 64ch+spine VE11C "F. Eippert, T. Leutritz, N. Weiskopf"
sub-mpicbs03 M 26 2019-04-04 mpicbs Max Planck Institute for Human Cognitive and Brain Sciences Siemens Prisma-fit 64ch+spine VE11C "F. Eippert, T. Leutritz, N. Weiskopf"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"Description": "Animal weight in grams"
},
"Temperature": {
"Description": "Animal rectal temperature in Celcius"
"Description": "Animal rectal temperature in Celsius"
},
"DOB": {
"Description": "Animal date of birth"
Expand Down
2 changes: 1 addition & 1 deletion pages/categorization.vue
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@
}
}
// b. Save the description from the json file colum entry
// b. Save the description from the json file column entry
this.columnToCategoryTable[index].description = descriptionStr;
}
}
Expand Down
2 changes: 1 addition & 1 deletion pages/download.vue
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
downloadAnnotatedData() {
// 1. Format the annotated table into propietary JSON format
// 1. Format the annotated table into proprietary JSON format
const jsonData = this.transformAnnotatedTableToJSON();
// 2. Open file dialog to prompt the user to name it and
Expand Down
2 changes: 1 addition & 1 deletion test_contributions.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ This file contains functions that are linked to the Cypress object. The idea is

_assertNextPageAccess_

Since each page in the annotation tool uses a standard naming convention for the nav and next page buttons, this function is a quick means of determining of the page's requirements for proceeeding to the next one have been met.
Since each page in the annotation tool uses a standard naming convention for the nav and next page buttons, this function is a quick means of determining of the page's requirements for proceeding to the next one have been met.

_datasetMeetsTestCriteria_

Expand Down

0 comments on commit 5bee4a9

Please sign in to comment.