Skip to content

Commit 75c7916

Browse files
committed
DOC: Fix spelling mistakes detected by codespell
Fix spelling mistakes detected by `codespell`. Fixes: ``` ./README.rst:77: difussion ==> diffusion ./src/nifreeze/testing/simulations.py:70: pricipal ==> principal ./src/nifreeze/registration/ants.py:392: initalizing ==> initializing spellcheck: exit 65 (0.17 seconds) /home/runner/work/nifreeze/nifreeze> codespell . pid=1810 spellcheck: FAIL code 65 (0.27=setup[0.11]+cmd[0.17] seconds) evaluation failed :( (0.34 seconds) Error: Process completed with exit code 65. ``` raised for example in: https://github.com/nipreps/nifreeze/actions/runs/12435719520/job/34722102640?pr=28#step:8:21
1 parent 9dd1a10 commit 75c7916

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ and positron-emission tomography (PET) data.
7474
the known directions and strengths of diffusion gradients*. J Magn Reson Imaging **24**:1188-1193.
7575
7676
.. [4] Andersson et al. (2012) *A comprehensive Gaussian Process framework for correcting distortions
77-
and movements in difussion images*. In: 20th SMRT & 21st ISMRM, Melbourne, Australia.
77+
and movements in diffusion images*. In: 20th SMRT & 21st ISMRM, Melbourne, Australia.
7878
7979
.. [5] Andersson & Sotiropoulos (2015) *Non-parametric representation and prediction of single- and
8080
multi-shell diffusion-weighted MRI data using Gaussian processes*. NeuroImage **122**:166-176.

src/nifreeze/registration/ants.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ def generate_command(
389389
str(p) for p in _massage_mask_path(movingmask_path, nlevels)
390390
]
391391

392-
# Set initalizing affine if provided
392+
# Set initializing affine if provided
393393
if init_affine is not None:
394394
settings["initial_moving_transform"] = str(init_affine)
395395

src/nifreeze/testing/simulations.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def add_b0(bvals: np.ndarray, bvecs: np.ndarray) -> tuple[np.ndarray, np.ndarray
6767

6868
def create_single_fiber_evecs(theta: float = 0, phi: float = 0) -> np.ndarray:
6969
"""
70-
Create eigenvectors for a simulated fiber given the polar coordinates of its pricipal axis.
70+
Create eigenvectors for a simulated fiber given the polar coordinates of its principal axis.
7171
7272
Parameters
7373
----------

0 commit comments

Comments
 (0)