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):
111111 outskin_mesh_file = File (
112112 desc = "path/name of outskin mesh outline (if generated)" )
113113 skull_mask_file = File (desc = "path/name of skull mask (if generated)" )
114+ skull_file = File (desc = "path/name of skull file (if generated)" )
114115
115116
116117class BET (FSLCommand ):
@@ -181,6 +182,9 @@ def _list_outputs(self):
181182 outputs ['out_file' ], suffix = '_outskin_mesh' )
182183 outputs ['skull_mask_file' ] = self ._gen_fname (
183184 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' )
184188 if isdefined (self .inputs .no_output ) and self .inputs .no_output :
185189 outputs ['out_file' ] = Undefined
186190 return outputs
You can’t perform that action at this time.
0 commit comments