File tree 2 files changed +4
-2
lines changed 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1149,8 +1149,9 @@ def _list_outputs(self):
1149
1149
out_name = name
1150
1150
if trait_spec .output_name is not None :
1151
1151
out_name = trait_spec .output_name
1152
- outputs [out_name ] = \
1153
- os .path .abspath (self ._filename_from_source (name ))
1152
+ fname = self ._filename_from_source (name )
1153
+ if isdefined (fname ):
1154
+ outputs [out_name ] = os .path .abspath (fname )
1154
1155
return outputs
1155
1156
1156
1157
def _parse_inputs (self , skip = None ):
Original file line number Diff line number Diff line change @@ -313,6 +313,7 @@ def test_flirt(setup_flirt):
313
313
os .path .join (os .getcwd (), flirter .inputs .out_file )
314
314
assert outs ['out_matrix_file' ] == \
315
315
os .path .join (os .getcwd (), flirter .inputs .out_matrix_file )
316
+ assert not isdefined (flirter .inputs .out_log )
316
317
317
318
318
319
# Mcflirt
You can’t perform that action at this time.
0 commit comments