We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68cf671 commit 395dca5Copy full SHA for 395dca5
nibabel/freesurfer/mghformat.py
@@ -255,7 +255,7 @@ def get_zooms(self):
255
.. _mghformat: https://surfer.nmr.mgh.harvard.edu/fswiki/FsTutorial/MghFormat#line-82
256
'''
257
# Do not return time zoom (TR) if 3D image
258
- tzoom = (self['tr'],)[:self._ndims() > 3]
+ tzoom = (self['tr'],)[:int(self._ndims() > 3)]
259
return tuple(self._structarr['delta']) + tzoom
260
261
def set_zooms(self, zooms):
0 commit comments