@@ -73,27 +73,27 @@ This will create a file "outputtestsave.py" with the following content:
73
73
return out
74
74
75
75
testfunc.inputs.function_str = getsource(testfunc_1)
76
- testfunc.ignore_exception = False
76
+ testfunc.inputs. ignore_exception = False
77
77
testfunc.inputs.in1 = '-sub'
78
78
testsave.connect(inode, "a", testfunc, "in1")
79
79
# Node: testsave.bet2
80
80
bet2 = MapNode(BET(), iterfield=['infile'], name="bet2")
81
81
bet2.iterables = ('frac', [0.4, 0.5])
82
- bet2.interface.ignore_exception = False
83
82
bet2.inputs.environ = {'FSLOUTPUTTYPE': 'NIFTI_GZ'}
83
+ bet2.inputs.ignore_exception = False
84
84
bet2.inputs.output_type = 'NIFTI_GZ'
85
85
bet2.terminal_output = 'stream'
86
86
# Node: testsave.bet
87
87
bet = Node(BET(), name="bet")
88
88
bet.iterables = ('frac', [0.3, 0.4])
89
- bet.interface.ignore_exception = False
90
89
bet.inputs.environ = {'FSLOUTPUTTYPE': 'NIFTI_GZ'}
90
+ bet.inputs.ignore_exception = False
91
91
bet.inputs.output_type = 'NIFTI_GZ'
92
92
bet.terminal_output = 'stream'
93
93
# Node: testsave.maths
94
94
maths = Node(ImageMaths(), name="maths")
95
- maths.interface.ignore_exception = False
96
95
maths.inputs.environ = {'FSLOUTPUTTYPE': 'NIFTI_GZ'}
96
+ maths.inputs.ignore_exception = False
97
97
maths.inputs.output_type = 'NIFTI_GZ'
98
98
maths.terminal_output = 'stream'
99
99
testsave.connect(bet2, ('mask_file', func), maths, "in_file2")
0 commit comments