File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -99,22 +99,22 @@ def _run_interface(self, runtime):
99
99
return runtime
100
100
101
101
102
- class _FourToThreeInputSpec (BaseInterfaceInputSpec ):
102
+ class _SplitSeriesInputSpec (BaseInterfaceInputSpec ):
103
103
in_file = File (exists = True , mandatory = True , desc = "input 4d image" )
104
104
allow_3D = traits .Bool (
105
105
False , usedefault = True , desc = "do not fail if a 3D volume is passed in"
106
106
)
107
107
108
108
109
- class _FourToThreeOutputSpec (TraitedSpec ):
109
+ class _SplitSeriesOutputSpec (TraitedSpec ):
110
110
out_files = OutputMultiObject (File (exists = True ), desc = "output list of 3d images" )
111
111
112
112
113
113
class SplitSeries (SimpleInterface ):
114
114
"""Split a 4D dataset along the last dimension into a series of 3D volumes."""
115
115
116
- input_spec = _FourToThreeInputSpec
117
- output_spec = _FourToThreeOutputSpec
116
+ input_spec = _SplitSeriesInputSpec
117
+ output_spec = _SplitSeriesOutputSpec
118
118
119
119
def _run_interface (self , runtime ):
120
120
filenii = nb .squeeze_image (nb .load (self .inputs .in_file ))
You can’t perform that action at this time.
0 commit comments