Skip to content

Commit 2c31a6e

Browse files
authored
Update nibabel/volumeutils.py
1 parent 77dfa11 commit 2c31a6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/volumeutils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ def pretty_mapping(
338338
if getterfunc is None:
339339
getterfunc = getitem
340340
mxlen = max(len(str(name)) for name in mapping)
341-
return '\n'.join([f'{name:{mxlen}s} : {getterfunc(mapping, name)}' for name in mapping])
341+
return '\n'.join(f'{name:{mxlen}s} : {getterfunc(mapping, name)}' for name in mapping)
342342

343343

344344
def make_dt_codes(codes_seqs: ty.Sequence[ty.Sequence]) -> Recoder:

0 commit comments

Comments
 (0)