Skip to content

Commit 6bca398

Browse files
committed
PY2 compatibility
1 parent 1ea55de commit 6bca398

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class Reorient(SimpleInterface):
5353
.. testsetup::
5454
5555
>>> def print_affine(matrix):
56-
... print(str(matrix).translate(dict(zip(b'[]', ' '))))
56+
... print(str(matrix).replace(']', ' ').replace('[', ' '))
5757
5858
.. doctest::
5959

0 commit comments

Comments
 (0)