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):
14911491 filelist = ensure_list (self .inputs .apply_to_files )
14921492 for f in filelist :
14931493 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+ ]
14951498 else :
1496- run = [fname_presuffix (f , prefix = "w" )]
1499+ run = [fname_presuffix (f , prefix = self . inputs . out_prefix )]
14971500 outputs ["normalized_files" ].extend (run )
14981501 if isdefined (self .inputs .image_to_align ):
14991502 outputs ["normalized_image" ] = fname_presuffix (
1500- self .inputs .image_to_align , prefix = "w"
1503+ self .inputs .image_to_align , prefix = self . inputs . out_prefix
15011504 )
15021505
15031506 return outputs
You can’t perform that action at this time.
0 commit comments