From 30de770f1417bedc7f14789a9470ab00a0813536 Mon Sep 17 00:00:00 2001 From: Evan Edmond <evan.edmond@ndcn.ox.ac.uk> Date: Tue, 30 Mar 2021 21:56:20 +0100 Subject: [PATCH] DOC: update docstring --- fsl/data/image.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fsl/data/image.py b/fsl/data/image.py index 1d3d9120a..7ed089d5e 100644 --- a/fsl/data/image.py +++ b/fsl/data/image.py @@ -1006,8 +1006,9 @@ class Image(Nifti): """Create an ``Image`` object with the given image data or file name. :arg image: A string containing the name of an image file to load, - or a :mod:`numpy` array, or a :mod:`nibabel` image - object, or an ``Image`` object. + or a Path object pointing to an image file, or a + :mod:`numpy` array, or a :mod:`nibabel` image object, + or an ``Image`` object. :arg name: A name for the image. -- GitLab