Skip to content

Commit cef50e1

Browse files
committed
sty: placate py35
1 parent 399cc41 commit cef50e1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

niworkflows/interfaces/cifti.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,4 +446,6 @@ def _reorient_image(img, orient_img, orient_target):
446446
"""
447447
if orient_img == tuple('RAS') and orient_target == tuple('LAS'): # RAS -> LAS
448448
return img.as_reoriented([[0, -1], [1, 1], [2, 1]])
449-
raise NotImplementedError(f"Cannot reorient {orient_img} to {orient_target}.")
449+
raise NotImplementedError(
450+
"Cannot reorient {0} to {1}.".format(orient_img, orient_target)
451+
)

0 commit comments

Comments
 (0)