Skip to content

Commit 493e708

Browse files
committed
Merge pull request #412 from bpinsard/spm_utils_ospec_fix
fixing spm.utils *OutputSpec inheritance
2 parents 85bc973 + e237f74 commit 493e708

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nipype/interfaces/spm/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class CalcCoregAffineInputSpec(SPMCommandInputSpec):
4343
invmat = File( desc = 'Filename used to store inverse affine matrix')
4444

4545

46-
class CalcCoregAffineOutputSpec(SPMCommandInputSpec):
46+
class CalcCoregAffineOutputSpec(TraitedSpec):
4747
mat = File(exists = True, desc = 'Matlab file holding transform')
4848
invmat = File( desc = 'Matlab file holding inverse transform')
4949

@@ -121,7 +121,7 @@ class ApplyTransformInputSpec(SPMCommandInputSpec):
121121
desc='file holding transform to apply')
122122

123123

124-
class ApplyTransformOutputSpec(SPMCommandInputSpec):
124+
class ApplyTransformOutputSpec(TraitedSpec):
125125
out_file = File(exists = True, desc = 'File with updated header')
126126

127127

@@ -174,7 +174,7 @@ class ResliceInputSpec(SPMCommandInputSpec):
174174

175175
out_file = File(desc = 'Optional file to save resliced volume')
176176

177-
class ResliceOutputSpec(SPMCommandInputSpec):
177+
class ResliceOutputSpec(TraitedSpec):
178178
out_file = File( exists = True, desc = 'resliced volume')
179179

180180
class Reslice(SPMCommand):

0 commit comments

Comments
 (0)