Skip to content

Commit 69a5089

Browse files
markhymerseffigies
authored andcommitted
Import and whitespace fixes
Signed-off-by: Mark Hymers <[email protected]>
1 parent 983c303 commit 69a5089

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

nibabel/funcs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import numpy as np
1212

1313
from .orientations import (io_orientation, inv_ornt_aff,
14-
apply_orientation, OrientationError)
14+
OrientationError)
1515
from .loadsave import load
1616

1717

@@ -225,6 +225,7 @@ def as_closest_canonical(img, enforce_diag=False):
225225
# Get the image class to transform the data for us
226226
return img.transpose(ornt, out_aff)
227227

228+
228229
def _aff_is_diag(aff):
229230
''' Utility function returning True if affine is nearly diagonal '''
230231
rzs_aff = aff[:3, :3]

nibabel/nifti1.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1989,8 +1989,6 @@ def transpose(self, ornt, new_aff):
19891989
return self.__class__(t_arr, new_aff, new_hdr)
19901990

19911991

1992-
1993-
19941992
class Nifti1Image(Nifti1Pair):
19951993
""" Class for single file NIfTI1 format image
19961994
"""

0 commit comments

Comments
 (0)