Skip to content

Commit 332b6b1

Browse files
DOC: Typos found by codespell
1 parent a838238 commit 332b6b1

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

Changelog

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ New features
122122

123123
Bug fixes
124124
---------
125-
* Delay import of h5py until neded (pr/889) (YOH, reviewed by CM)
125+
* Delay import of h5py until needed (pr/889) (YOH, reviewed by CM)
126126

127127
Maintenance
128128
-----------
@@ -168,7 +168,7 @@ Maintenance
168168
Bug fixes
169169
---------
170170
* Attempt to find versioneer version when building docs (pr/894) (CM)
171-
* Delay import of h5py until neded (backport of pr/889) (YOH, reviewed by CM)
171+
* Delay import of h5py until needed (backport of pr/889) (YOH, reviewed by CM)
172172

173173
Maintenance
174174
-----------
@@ -252,7 +252,7 @@ API changes and deprecations
252252
----------------------------
253253
* Fully remove deprecated ``checkwarns`` and ``minc`` modules. (pr/852) (CM)
254254
* The ``keep_file_open`` argument to file load operations and ``ArrayProxy``\s
255-
no longer acccepts the value ``"auto"``, raising a ``ValueError``. (pr/852)
255+
no longer accepts the value ``"auto"``, raising a ``ValueError``. (pr/852)
256256
(CM)
257257
* Deprecate ``ArraySequence.data`` in favor of ``ArraySequence.get_data()``,
258258
which will return a copy. ``ArraySequence.data`` now returns a read-only

doc/source/devel/biaps/biap_0004.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ wrapping the `DcmMeta` in the Extension API?
105105
Status
106106
------
107107

108-
Resolved. We now have a seperate `DcmMeta` object which inherits from
108+
Resolved. We now have a separate `DcmMeta` object which inherits from
109109
`OrderedDict` and contains all of the functionality previously in
110110
`DcmMetaExtension` except those related to acting as a Nifti1Extension.
111111
The `DcmMetaExtension` now provides just the functionality for being

doc/source/devel/biaps/biap_0006.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ which ends up being similar to the `time_axis_index` option above.
276276
.. _BV file format overview: http://support.brainvoyager.com/automation-aamp-development/23-file-formats/382-developer-guide-26-file-formats-overview.html
277277
.. _vmr format definition: http://support.brainvoyager.com/automation-aamp-development/23-file-formats/385-developer-guide-26-the-format-of-vmr-files.html
278278
.. _STC format definition: http://support.brainvoyager.com/automation-aamp-development/23-file-formats/384-developer-guide-26-the-format-of-stc-files.html
279-
.. _VTC format defintion: http://support.brainvoyager.com/automation-aamp-development/23-file-formats/379-users-guide-23-the-format-of-vtc-files.html.
279+
.. _VTC format definition: http://support.brainvoyager.com/automation-aamp-development/23-file-formats/379-users-guide-23-the-format-of-vtc-files.html.
280280
.. _NR-VMP format definition: http://support.brainvoyager.com/automation-aamp-development/23-file-formats/377-users-guide-23-the-format-of-nr-vmp-files.html;
281281
.. _AR-VMP format definition: http://support.brainvoyager.com/automation-aamp-development/23-file-formats/376-users-guide-23-the-format-of-ar-vmp-files.html
282282
.. _SMP format definition: : http://support.brainvoyager.com/automation-aamp-development/23-file-formats/476-the-format-of-smp-files.html.

nibabel/gifti/parse_gifti_fast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def read_data_block(darray, fname, data, mmap):
103103
# mmap=False or np.memmap failed
104104
if newarr is None:
105105
# We can replace this with a call to np.fromfile in numpy>=1.17,
106-
# as an "offset" paramter was added in that version.
106+
# as an "offset" parameter was added in that version.
107107
with open(ext_fname, 'rb') as f:
108108
f.seek(darray.ext_offset)
109109
nbytes = np.prod(darray.dims) * dtype().itemsize

nibabel/tests/test_diff.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def test_diff_values_array():
7373
assert are_values_different(array([0, inf]), array([inf, 0]))
7474

7575
# we will allow for types to be of different endianness but the
76-
# same in "instnatiation" type and value
76+
# same in "instantiation" type and value
7777
assert not are_values_different(np.array(1, dtype='<i4'), np.array(1, dtype='>i4'))
7878
# but do report difference if instantiation type is different:
79-
assert are_values_different(np.array(1, dtype='<i4'), np.array(1, dtype='<i2'))
79+
assert are_values_different(np.array(1, dtype='<i4'), np.array(1, dtype='<i2'))

nibabel/tests/test_loadsave.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def test_read_img_data():
3636
]
3737
fnames_test += [pathlib.Path(p) for p in fnames_test]
3838
for fname in fnames_test:
39-
# os.path.join doesnt work between str / os.PathLike in py3.5
39+
# os.path.join doesn't work between str / os.PathLike in py3.5
4040
fpath = pjoin(data_path, str(fname))
4141
if isinstance(fname, pathlib.Path):
4242
fpath = pathlib.Path(fpath)
@@ -56,7 +56,7 @@ def test_read_img_data():
5656
up_fpath = pjoin(tmpdir, str(fname).upper())
5757
if isinstance(fname, pathlib.Path):
5858
up_fpath = pathlib.Path(up_fpath)
59-
# shutil doesnt work with os.PathLike in py3.5
59+
# shutil doesn't work with os.PathLike in py3.5
6060
shutil.copyfile(str(fpath), str(up_fpath))
6161
img = load(up_fpath)
6262
assert_array_equal(img.dataobj, data)

0 commit comments

Comments
 (0)