Skip to content

Fixed documentation build error and warnings #1163

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

Merged
merged 19 commits into from
Jan 1, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions doc/source/devel/biaps/biap_0003.rst
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,10 @@ The base level header will usually also have image metadata fields giving
information about the whole image. A field is an "image metadata field" if it
is defined at the top level of the header. For example::

>>> hdr = dict(nipy_header_version='1.0',
... Manufacturer="SIEMENS")
.. code-block:: python

hdr = dict(nipy_header_version='1.0',
Manufacturer="SIEMENS")

All image metadata fields are optional.

Expand Down Expand Up @@ -635,7 +637,7 @@ Use case
^^^^^^^^

When doing motion correction on a 4D image, we calculate the required affine
transformation from |--| say |--| the second image to the first image; the
transformation from, say, the second image to the first image; the
third image to the first image; etc. If there are N volumes in the 4D image,
we would need to store N-1 affine transformations. If we have registered to
the mean volume of the volume series instead of one of the volumes in the
Expand Down
2 changes: 1 addition & 1 deletion nibabel/ecat.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ def __init__(self, hdr, mlist, fileobj):
there is one subheader for each frame in the ecat file

Parameters
-----------
----------
hdr : EcatHeader
ECAT main header
mlist : array shape (N, 4)
Expand Down
1 change: 0 additions & 1 deletion nibabel/gifti/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
.. autosummary::
:toctree: ../generated

giftiio
gifti
"""

Expand Down
2 changes: 1 addition & 1 deletion nibabel/tmpdirs.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class InTemporaryDirectory(TemporaryDirectory):
""" Create, return, and change directory to a temporary directory

Notes
------
-----
As its name suggests, the class temporarily changes the working
directory of the Python process, and this is not thread-safe. We suggest
using it only for tests.
Expand Down