diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 0000000..ebe6e86 --- /dev/null +++ b/.codespellrc @@ -0,0 +1,5 @@ +[codespell] +skip = .git,*.pdf,*.svg,.codespellrc +check-hidden = true +# ignore-regex = +# ignore-words-list = diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 0000000..7373aff --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,22 @@ +--- +name: Codespell + +on: + push: + branches: [master] + pull_request: + branches: [master] + +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 diff --git a/README.md b/README.md index a7f3b10..61b5ed8 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ In this case, the intermediate files will be stored in the working directory and - `01cleaned.ply` for the cleaned head model, and - `02aligned.stl` for the aligned head model -To manually refine the alignement, `02aligned.stl` can be loaded in blender with the desired headcase model (stored under the `stls` directory of this repository). +To manually refine the alignment, `02aligned.stl` can be loaded in blender with the desired headcase model (stored under the `stls` directory of this repository). Finally, the headcase can be generated with ```bash diff --git a/autocase3d/fmin_autograd.py b/autocase3d/fmin_autograd.py index 6f63396..c4720ca 100644 --- a/autocase3d/fmin_autograd.py +++ b/autocase3d/fmin_autograd.py @@ -136,7 +136,7 @@ def _compute_log_det_cholesky(matrix_chol, covariance_type, n_features): def _load_gmm_model(): - """Load GMM model by loading the parameters and instatiating a GMM object.""" + """Load GMM model by loading the parameters and instantiating a GMM object.""" here = os.path.dirname(os.path.abspath(__file__)) model_file = os.path.join(here, "gmm_params.npz") params = np.load(model_file) diff --git a/docs/glab_headcase_pipeline.md b/docs/glab_headcase_pipeline.md index 9463970..36ec5d7 100644 --- a/docs/glab_headcase_pipeline.md +++ b/docs/glab_headcase_pipeline.md @@ -34,7 +34,7 @@ Once you have a good scan, send the file to an email you can access. 1. Create an [Ultimaker account](https://ultimaker.com/software/ultimaker-cura) and ask a senior lab member to add you to the Gallant Lab group. 2. Download the [Ultimaker Cura software](https://ultimaker.com/software/ultimaker-cura) and sign in to your account. 3. Upload both the front and back headcase stl files. Rotate and set the front to x=70mm. Set the back to x=-70mm. The two should be touching. -4. In the `PREPARE` page, select the correct filament type and set the folloing print settings: +4. In the `PREPARE` page, select the correct filament type and set the following print settings: - Profiles - Default = 0.2 - Visual = 0.15 diff --git a/stls/default_customizations.stl b/stls/default_customizations.stl deleted file mode 100644 index 2652038..0000000 Binary files a/stls/default_customizations.stl and /dev/null differ diff --git a/stls/default_customizations.stl b/stls/default_customizations.stl new file mode 120000 index 0000000..922735d --- /dev/null +++ b/stls/default_customizations.stl @@ -0,0 +1 @@ +default_customizations_v2.stl \ No newline at end of file diff --git a/stls/default_customizations_v1.stl b/stls/default_customizations_v1.stl new file mode 100644 index 0000000..2652038 Binary files /dev/null and b/stls/default_customizations_v1.stl differ diff --git a/stls/default_customizations_v2.stl b/stls/default_customizations_v2.stl new file mode 100644 index 0000000..c4f27ac Binary files /dev/null and b/stls/default_customizations_v2.stl differ