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 7569219 commit d063b95Copy full SHA for d063b95
nibabel/nicom/dicomwrappers.py
@@ -568,8 +568,9 @@ def image_shape(self):
568
n_frames_calc = n_vols * shape[2]
569
if n_frames != n_frames_calc:
570
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}.')
+ f'Calculated # of frames ({n_frames_calc}={n_vols}*{shape[2]}) '
+ f'of shape {shape} does not match NumberOfFrames {n_frames}.'
573
+ )
574
return tuple(shape)
575
576
@one_time
0 commit comments