We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77dfa11 commit 2c31a6eCopy full SHA for 2c31a6e
nibabel/volumeutils.py
@@ -338,7 +338,7 @@ def pretty_mapping(
338
if getterfunc is None:
339
getterfunc = getitem
340
mxlen = max(len(str(name)) for name in mapping)
341
- return '\n'.join([f'{name:{mxlen}s} : {getterfunc(mapping, name)}' for name in mapping])
+ return '\n'.join(f'{name:{mxlen}s} : {getterfunc(mapping, name)}' for name in mapping)
342
343
344
def make_dt_codes(codes_seqs: ty.Sequence[ty.Sequence]) -> Recoder:
0 commit comments