From dc380d50981001b32e0ea117348dee56ce1f6845 Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauldmccarthy@gmail.com> Date: Fri, 2 Mar 2018 13:22:46 +0000 Subject: [PATCH] _FileOrThing docs --- fsl/wrappers/wrapperutils.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/fsl/wrappers/wrapperutils.py b/fsl/wrappers/wrapperutils.py index 5bf162825..328438c57 100644 --- a/fsl/wrappers/wrapperutils.py +++ b/fsl/wrappers/wrapperutils.py @@ -333,6 +333,16 @@ class _FileOrThing(object): **Using with other decorators** + + + ``_FileOrThing`` decorators can be chained with other ``_FileOrThing`` + decorators, and other decorators. When multiple ``_FileOrThing`` + decorators are used on a single function, the outputs from each decorator + are merged together into a single dict-like object. + + + ``_FileOrThing`` decorators can be used with any other decorators + __as long as__ they do not manipulate the return value. """ -- GitLab