File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ class BETOutputSpec(TraitedSpec):
111
111
outskin_mesh_file = File (
112
112
desc = "path/name of outskin mesh outline (if generated)" )
113
113
skull_mask_file = File (desc = "path/name of skull mask (if generated)" )
114
+ skull_file = File (desc = "path/name of skull file (if generated)" )
114
115
115
116
116
117
class BET (FSLCommand ):
@@ -181,6 +182,9 @@ def _list_outputs(self):
181
182
outputs ['out_file' ], suffix = '_outskin_mesh' )
182
183
outputs ['skull_mask_file' ] = self ._gen_fname (
183
184
outputs ['out_file' ], suffix = '_skull_mask' )
185
+ if isdefined (self .inputs .skull ) and self .inputs .skull :
186
+ outputs ['skull_file' ] = self ._gen_fname (
187
+ outputs ['out_file' ], suffix = '_skull' )
184
188
if isdefined (self .inputs .no_output ) and self .inputs .no_output :
185
189
outputs ['out_file' ] = Undefined
186
190
return outputs
You can’t perform that action at this time.
0 commit comments