Skip to content

Commit 5ea8366

Browse files
committed
Fixed more minor RST warnings.
1 parent 4b693b8 commit 5ea8366

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

doc/source/devel/biaps/biap_0004.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ Improving access to varying meta data through the Nifti
221221

222222
Currently, when accessing varying meta data through the `get_meta` method
223223
you can only get one value at a time::
224+
224225
>>> echo_times = [nii.get_meta('EchoTime', (0, 0, 0, idx))
225226
for idx in xrange(data.shape[-1])]
226227

doc/source/devel/biaps/biap_0006.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ In NIfTI:
193193

194194
We saw above that the MGH format refers to a volume (in our sense) as a
195195
*frame*. ECAT has the same usage - a frame is a 3D volume. The fmristat
196-
software uses frame in the same sense |--| e.g. `line 32 of example.m
196+
software uses frame in the same sense, e.g., `line 32 of example.m
197197
<https://github.com/matthew-brett/fmristat/blob/master/fmristat/example.m#L32>`_.
198198

199199
Unfortunately DICOM appears to use "frame" to mean a 2D slice. For example,

nibabel/processing.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,11 +325,13 @@ def conform(from_img,
325325
Using the default arguments, this function is meant to replicate most parts
326326
of FreeSurfer's ``mri_convert --conform`` command. Specifically, this
327327
function:
328+
328329
- Resamples data to ``output_shape``
329330
- Resamples voxel sizes to ``voxel_size``
330331
- Reorients to RAS (``mri_convert --conform`` reorients to LIA)
331332
332333
Unlike ``mri_convert --conform``, this command does not:
334+
333335
- Transform data to range [0, 255]
334336
- Cast to unsigned eight-bit integer
335337

0 commit comments

Comments
 (0)