@@ -63,8 +63,7 @@ class CalcCoregAffine(SPMCommand):
63
63
>>> coreg.inputs.mat = 'func_to_struct.mat'
64
64
>>> coreg.run() # doctest: +SKIP
65
65
66
- Notes
67
- -----
66
+ .. note::
68
67
69
68
* the output file mat is saves as a matlab binary file
70
69
* calculating the transforms does NOT change either input image
@@ -116,7 +115,7 @@ def _list_outputs(self):
116
115
return outputs
117
116
118
117
class ApplyTransformInputSpec (SPMCommandInputSpec ):
119
- in_file = File ( exists = True , mandatory = True ,
118
+ in_file = File ( exists = True , mandatory = True , copyfile = True ,
120
119
desc = 'file to apply transform to, (only updates header)' )
121
120
mat = File ( exists = True , mandatory = True ,
122
121
desc = 'file holding transform to apply' )
@@ -138,9 +137,10 @@ class ApplyTransform(SPMCommand):
138
137
>>> applymat.inputs.mat = 'func_to_struct.mat'
139
138
>>> applymat.run() # doctest: +SKIP
140
139
141
- Notes
142
- -----
143
- CHANGES YOUR INPUT FILE (applies transform by updating the header)
140
+ .. warning::
141
+
142
+ CHANGES YOUR INPUT FILE (applies transform by updating the header)
143
+ except when used with nipype caching or workflow.
144
144
"""
145
145
input_spec = ApplyTransformInputSpec
146
146
output_spec = ApplyTransformOutputSpec
0 commit comments