From df9096797ecfff34973acfb6732bf3379c384959 Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauldmccarthy@gmail.com> Date: Tue, 24 Oct 2017 12:38:55 +0100 Subject: [PATCH] rst fixes --- fsl/data/mesh.py | 2 +- fsl/utils/transform.py | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/fsl/data/mesh.py b/fsl/data/mesh.py index d052ccb39..713cd463d 100644 --- a/fsl/data/mesh.py +++ b/fsl/data/mesh.py @@ -38,7 +38,7 @@ log = logging.getLogger(__name__) class TriangleMesh(object): """The ``TriangleMesh`` class represents a 3D model. A mesh is defined by a collection of ``N`` vertices, and ``M`` triangles. The triangles are - defined by ``(M, 3)) indices into the list of vertices. + defined by ``(M, 3)`` indices into the list of vertices. A ``TriangleMesh`` instance has the following attributes: diff --git a/fsl/utils/transform.py b/fsl/utils/transform.py index fb90b4fb1..21f9b726a 100644 --- a/fsl/utils/transform.py +++ b/fsl/utils/transform.py @@ -184,10 +184,11 @@ def decompose(xform, angles=True): is returned. :returns: The following: - - A sequence of three scales - - A sequence of three translations - - A sequence of three rotations, in radians. Or, if - ``angles is False``, a rotation matrix. + + - A sequence of three scales + - A sequence of three translations + - A sequence of three rotations, in radians. Or, if + ``angles is False``, a rotation matrix. """ # The inline comments in the code below are taken verbatim from -- GitLab