Skip to content

Commit 9554f47

Browse files
MathijsdeBoerMathijs de Boer
andauthored
Fix docstring indentation in SaveImage (#7913)
### Description The docstring for `monai.transforms.io.array.SaveImage` had some faulty indentation, causing weirdly formatted documentation on the website. This pull request fixes the indentation. ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [x] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder. Signed-off-by: Mathijs de Boer <[email protected]> Co-authored-by: Mathijs de Boer <[email protected]>
1 parent 8cfbcba commit 9554f47

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

monai/transforms/io/array.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,11 +307,11 @@ class SaveImage(Transform):
307307
308308
Args:
309309
output_dir: output image directory.
310-
Handled by ``folder_layout`` instead, if ``folder_layout`` is not ``None``.
310+
Handled by ``folder_layout`` instead, if ``folder_layout`` is not ``None``.
311311
output_postfix: a string appended to all output file names, default to `trans`.
312-
Handled by ``folder_layout`` instead, if ``folder_layout`` is not ``None``.
312+
Handled by ``folder_layout`` instead, if ``folder_layout`` is not ``None``.
313313
output_ext: output file extension name.
314-
Handled by ``folder_layout`` instead, if ``folder_layout`` is not ``None``.
314+
Handled by ``folder_layout`` instead, if ``folder_layout`` is not ``None``.
315315
output_dtype: data type (if not None) for saving data. Defaults to ``np.float32``.
316316
resample: whether to resample image (if needed) before saving the data array,
317317
based on the ``"spatial_shape"`` (and ``"original_affine"``) from metadata.

0 commit comments

Comments
 (0)