@@ -91,7 +91,7 @@ def test_SplitSeries(tmp_path):
91
91
with pytest .raises (RuntimeError ):
92
92
SplitSeries (in_file = str (in_file )).run ()
93
93
94
- split = SplitSeries (in_file = str (in_file ), accept_3D = True ).run ()
94
+ split = SplitSeries (in_file = str (in_file ), allow_3D = True ).run ()
95
95
assert isinstance (split .outputs .out_files , str )
96
96
97
97
# Test the 3D
@@ -102,7 +102,7 @@ def test_SplitSeries(tmp_path):
102
102
with pytest .raises (RuntimeError ):
103
103
SplitSeries (in_file = str (in_file )).run ()
104
104
105
- split = SplitSeries (in_file = str (in_file ), accept_3D = True ).run ()
105
+ split = SplitSeries (in_file = str (in_file ), allow_3D = True ).run ()
106
106
assert isinstance (split .outputs .out_files , str )
107
107
108
108
# Test the 5D
@@ -114,7 +114,7 @@ def test_SplitSeries(tmp_path):
114
114
SplitSeries (in_file = str (in_file )).run ()
115
115
116
116
with pytest .raises (RuntimeError ):
117
- SplitSeries (in_file = str (in_file ), accept_3D = True ).run ()
117
+ SplitSeries (in_file = str (in_file ), allow_3D = True ).run ()
118
118
119
119
# Test splitting ANTs warpfields
120
120
data = np .ones ((20 , 20 , 20 , 1 , 3 ), dtype = float )
@@ -124,6 +124,7 @@ def test_SplitSeries(tmp_path):
124
124
split = SplitSeries (in_file = str (in_file )).run ()
125
125
assert len (split .outputs .out_files ) == 3
126
126
127
+
127
128
def test_MergeSeries (tmp_path ):
128
129
"""Test 3-to-4 NIfTI concatenation interface."""
129
130
os .chdir (str (tmp_path ))
0 commit comments