Skip to content

Commit d063b95

Browse files
committed
STY: blue/flake8
1 parent 7569219 commit d063b95

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nibabel/nicom/dicomwrappers.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -568,8 +568,9 @@ def image_shape(self):
568568
n_frames_calc = n_vols * shape[2]
569569
if n_frames != n_frames_calc:
570570
raise WrapperError(
571-
f'Calculated # of frames ({n_frames_calc}={n_vols}*{shape[2]}) of shape {shape} does not '
572-
f'match NumberOfFrames {n_frames}.')
571+
f'Calculated # of frames ({n_frames_calc}={n_vols}*{shape[2]}) '
572+
f'of shape {shape} does not match NumberOfFrames {n_frames}.'
573+
)
573574
return tuple(shape)
574575

575576
@one_time

0 commit comments

Comments
 (0)