File tree
Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -255,7 +255,7 @@ def get_zooms(self):
|
255 | 255 | .. _mghformat: https://surfer.nmr.mgh.harvard.edu/fswiki/FsTutorial/MghFormat#line-82
|
256 | 256 | '''
|
257 | 257 | # Do not return time zoom (TR) if 3D image
|
258 |
| -tzoom = (self['tr'],)[:self._ndims() > 3] |
| 258 | +tzoom = (self['tr'],) if self._ndims() > 3 else () |
259 | 259 | return tuple(self._structarr['delta']) + tzoom
|
260 | 260 |
|
261 | 261 | def set_zooms(self, zooms):
|
|
You can’t perform that action at this time.
0 commit comments