Skip to content

Commit 36d96f2

Browse files
committed
Fixed RST errors and warnings.
1 parent e6477cb commit 36d96f2

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

doc/source/devel/biaps/biap_0003.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,10 @@ The base level header will usually also have image metadata fields giving
199199
information about the whole image. A field is an "image metadata field" if it
200200
is defined at the top level of the header. For example::
201201

202-
>>> hdr = dict(nipy_header_version='1.0',
203-
... Manufacturer="SIEMENS")
202+
.. code-block:: python
203+
204+
hdr = dict(nipy_header_version='1.0',
205+
Manufacturer="SIEMENS")
204206
205207
All image metadata fields are optional.
206208

@@ -635,7 +637,7 @@ Use case
635637
^^^^^^^^
636638

637639
When doing motion correction on a 4D image, we calculate the required affine
638-
transformation from |--| say |--| the second image to the first image; the
640+
transformation from, say, the second image to the first image; the
639641
third image to the first image; etc. If there are N volumes in the 4D image,
640642
we would need to store N-1 affine transformations. If we have registered to
641643
the mean volume of the volume series instead of one of the volumes in the

nibabel/ecat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ def __init__(self, hdr, mlist, fileobj):
520520
there is one subheader for each frame in the ecat file
521521
522522
Parameters
523-
-----------
523+
----------
524524
hdr : EcatHeader
525525
ECAT main header
526526
mlist : array shape (N, 4)

nibabel/gifti/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
.. autosummary::
1414
:toctree: ../generated
1515
16-
giftiio
1716
gifti
1817
"""
1918

nibabel/tmpdirs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class InTemporaryDirectory(TemporaryDirectory):
5252
""" Create, return, and change directory to a temporary directory
5353
5454
Notes
55-
------
55+
-----
5656
As its name suggests, the class temporarily changes the working
5757
directory of the Python process, and this is not thread-safe. We suggest
5858
using it only for tests.

0 commit comments

Comments
 (0)