@@ -174,9 +174,9 @@ def _list_outputs(self):
174174 outputs = self .output_spec ().get ()
175175 outputs ["out_file" ] = self ._gen_outfilename ()
176176
177- basename = os .path .basename (outputs [' out_file' ])
178- cwd = os .path .dirname (outputs [' out_file' ])
179- kwargs = {' basename' : basename , ' cwd' : cwd }
177+ basename = os .path .basename (outputs [" out_file" ])
178+ cwd = os .path .dirname (outputs [" out_file" ])
179+ kwargs = {" basename" : basename , " cwd" : cwd }
180180
181181 if (isdefined (self .inputs .mesh ) and self .inputs .mesh ) or (
182182 isdefined (self .inputs .surfaces ) and self .inputs .surfaces
@@ -189,9 +189,7 @@ def _list_outputs(self):
189189 ):
190190 outputs ["mask_file" ] = self ._gen_fname (suffix = "_mask" , ** kwargs )
191191 if isdefined (self .inputs .outline ) and self .inputs .outline :
192- outputs ["outline_file" ] = self ._gen_fname (
193- suffix = "_overlay" , ** kwargs
194- )
192+ outputs ["outline_file" ] = self ._gen_fname (suffix = "_overlay" , ** kwargs )
195193 if isdefined (self .inputs .surfaces ) and self .inputs .surfaces :
196194 outputs ["inskull_mask_file" ] = self ._gen_fname (
197195 suffix = "_inskull_mask" , ** kwargs
@@ -211,13 +209,9 @@ def _list_outputs(self):
211209 outputs ["outskin_mesh_file" ] = self ._gen_fname (
212210 suffix = "_outskin_mesh" , ** kwargs
213211 )
214- outputs ["skull_mask_file" ] = self ._gen_fname (
215- suffix = "_skull_mask" , ** kwargs
216- )
212+ outputs ["skull_mask_file" ] = self ._gen_fname (suffix = "_skull_mask" , ** kwargs )
217213 if isdefined (self .inputs .skull ) and self .inputs .skull :
218- outputs ["skull_file" ] = self ._gen_fname (
219- suffix = "_skull" , ** kwargs
220- )
214+ outputs ["skull_file" ] = self ._gen_fname (suffix = "_skull" , ** kwargs )
221215 if isdefined (self .inputs .no_output ) and self .inputs .no_output :
222216 outputs ["out_file" ] = Undefined
223217 return outputs
0 commit comments