Skip to content

Commit d7cdd64

Browse files
STY: Further simplification
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent 1be9a67 commit d7cdd64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: nipype/interfaces/fsl/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ class ExtractROI(FSLCommand):
484484
def _format_arg(self, name, spec, value):
485485
if name == "crop_list":
486486
return " ".join(
487-
map(str, (x for sublist in map(list, value) for x in sublist))
487+
str(x) for sublist in value for x in sublist
488488
)
489489
return super()._format_arg(name, spec, value)
490490

0 commit comments

Comments
 (0)