File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -1491,13 +1491,16 @@ def _list_outputs(self):
1491
1491
filelist = ensure_list (self .inputs .apply_to_files )
1492
1492
for f in filelist :
1493
1493
if isinstance (f , list ):
1494
- run = [fname_presuffix (in_f , prefix = "w" ) for in_f in f ]
1494
+ run = [
1495
+ fname_presuffix (in_f , prefix = self .inputs .out_prefix )
1496
+ for in_f in f
1497
+ ]
1495
1498
else :
1496
- run = [fname_presuffix (f , prefix = "w" )]
1499
+ run = [fname_presuffix (f , prefix = self . inputs . out_prefix )]
1497
1500
outputs ["normalized_files" ].extend (run )
1498
1501
if isdefined (self .inputs .image_to_align ):
1499
1502
outputs ["normalized_image" ] = fname_presuffix (
1500
- self .inputs .image_to_align , prefix = "w"
1503
+ self .inputs .image_to_align , prefix = self . inputs . out_prefix
1501
1504
)
1502
1505
1503
1506
return outputs
You can’t perform that action at this time.
0 commit comments