Skip to content

Commit 420e783

Browse files
committed
RF - remove deprecated get_shape for mgh format
We just switched to using the 'shape' property instead, which results in the same exact code.
1 parent 7107494 commit 420e783

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)