Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] fix spelling #4026

Merged
merged 2 commits into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ For new-comers, we recommend going through the following examples in the suggest

.. raw:: html

<div class="sphx-glr-thumbcontainer" tooltip="This example shows manual steps to create and further modify an ROI spatial mask. They represen...">
<div class="sphx-glr-thumbcontainer" tooltip="This example shows manual steps to create and further modify an ROI spatial mask. They represent...">

.. only:: html

Expand Down
2 changes: 1 addition & 1 deletion examples/04_glm_first_level/plot_first_level_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
# This task, described in Pinel et al., BMC neuroscience 2007 probes basic
# functions, such as button presses with the left or right hand, viewing
# horizontal and vertical checkerboards, reading and listening to short
# sentences, and mental computations (subractions).
# sentences, and mental computations (subtractions).
#
# Visual stimuli were displayed in four 250-ms epochs, separated by 100ms
# intervals (i.e., 1.3s in total). Auditory stimuli were drawn from a recorded
Expand Down
2 changes: 1 addition & 1 deletion examples/04_glm_first_level/plot_spm_multimodal_faces.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
subject_data = fetch_spm_multimodal_fmri()

#########################################################################
# Specfiy timing and design matrix parameters.
# Specify timing and design matrix parameters.

# repetition time, in seconds
tr = 2.0
Expand Down
2 changes: 1 addition & 1 deletion nilearn/_utils/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class DimensionError(TypeError):
Parameters
----------
file_dimension : integer
Indicates the dimensonality of the bottom-level nifti file.
Indicates the dimensionality of the bottom-level nifti file.

required_dimension : integer
The dimension the nifti file should have.
Expand Down
2 changes: 1 addition & 1 deletion nilearn/decoding/fista.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def mfista(
penalized problems emerged in the paper: Elvis Dohmatob,
Alexandre Gramfort, Bertrand Thirion, Gael Varoquaux,
"Benchmarking solvers for TV-L1 least-squares and logistic regression
in brain imaging". Pattern Recoginition in Neuroimaging (PRNI),
in brain imaging". Pattern Recognition in Neuroimaging (PRNI),
Jun 2014, Tubingen, Germany. IEEE

"""
Expand Down
4 changes: 2 additions & 2 deletions nilearn/decomposition/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ def _fast_svd(X, n_components, random_state=None):
The first matrix of the truncated svd

S : array, shape (n_components)
The second matric of the truncated svd
The second matrix of the truncated svd

V : array, shape (n_components, n_features)
The last matric of the truncated svd
The last matrix of the truncated svd

"""
random_state = check_random_state(random_state)
Expand Down
4 changes: 2 additions & 2 deletions nilearn/glm/regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def normalized_residuals(self):

Notes
-----
Is this supposed to return "stanardized residuals,"
Is this supposed to return "standardized residuals,"
residuals standardized
to have mean zero and approximately unit variance?

Expand Down Expand Up @@ -405,7 +405,7 @@ def normalized_residuals(self, Y):

Notes
-----
Is this supposed to return "stanardized residuals,"
Is this supposed to return "standardized residuals,"
residuals standardized
to have mean zero and approximately unit variance?

Expand Down
2 changes: 1 addition & 1 deletion nilearn/regions/tests/test_parcellations.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def test_error_parcellation_method_none(test_image):
Parcellations(method=None, verbose=0).fit(test_image)


@pytest.mark.parametrize("method", ["kmens", "avg", "complte"])
@pytest.mark.parametrize("method", ["kmens", "avg", "completed"])
def test_errors_raised_in_check_parameters_fit(method, test_image):
"""Test whether an error is raised or not given
a false method type.
Expand Down