Skip to content

Commit

Permalink
run black for nipype/interfaces/spm/preprocess.py
Browse files Browse the repository at this point in the history
  • Loading branch information
servoz authored Sep 11, 2023
1 parent 50b89c4 commit b9cac5e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nipype/interfaces/spm/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -1491,7 +1491,10 @@ def _list_outputs(self):
filelist = ensure_list(self.inputs.apply_to_files)
for f in filelist:
if isinstance(f, list):
run = [fname_presuffix(in_f, prefix=self.inputs.out_prefix) for in_f in f]
run = [
fname_presuffix(in_f, prefix=self.inputs.out_prefix)
for in_f in f
]
else:
run = [fname_presuffix(f, prefix=self.inputs.out_prefix)]
outputs["normalized_files"].extend(run)
Expand Down

0 comments on commit b9cac5e

Please sign in to comment.