File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -483,9 +483,7 @@ class ExtractROI(FSLCommand):
483483

484484
def _format_arg(self, name, spec, value):
485485
if name == "crop_list":
486-
return " ".join(
487-
map(str, (x for sublist in map(list, value) for x in sublist))
488-
)
486+
return " ".join(str(x) for sublist in value for x in sublist)
489487
return super()._format_arg(name, spec, value)
490488

491489
def _list_outputs(self):

0 commit comments

Comments
 (0)