Skip to content

Commit 57099b6

Browse files
committed
Merge pull request #65 from matthew-brett/no-get-shape
RF - remove deprecated get_shape for mgh format
2 parents 7107494 + 420e783 commit 57099b6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

nibabel/freesurfer/mghformat.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -556,10 +556,6 @@ def _write_footer(self, mghfile, header):
556556
'''
557557
header.writeftr_to(mghfile)
558558

559-
def get_shape(self):
560-
''' Return the shape of the data'''
561-
return self._data.shape
562-
563559
def get_affine(self):
564560
''' Return the affine transform'''
565561
return self._header.get_vox2ras()

0 commit comments

Comments
 (0)