File tree Expand file tree Collapse file tree
junifer/preprocess/warping Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -129,13 +129,16 @@ def preprocess( # noqa: C901
129129 ------
130130 ValueError
131131 If ``extra_input`` is None when transforming to native space
132- i.e., using ``"T1w"`` as reference.
132+ i.e., using ``"T1w"`` as reference or converting from native to
133+ template space or
134+ if the ``reference`` key is missing from ``input`` when converting
135+ from native to template space.
133136 RuntimeError
134137 If warper could not be found in ``extra_input`` when
135138 ``using="auto"`` or converting from native space or
136139 if the data is in the correct space and does not require
137140 warping or
138- if FSL is used when ``reference="T1w"``.
141+ if FSL or "auto" is used when ``reference! ="T1w"``.
139142
140143 """
141144 logger .info (f"Warping to { self .reference } space using SpaceWarper" )
You can’t perform that action at this time.
0 commit comments