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 e01173d commit 1be9a67Copy full SHA for 1be9a67
nipype/interfaces/spm/base.py
@@ -52,7 +52,7 @@ def func_is_3d(in_file):
52
else:
53
img = load(in_file)
54
shape = img.shape
55
- return len(shape) == 3 or len(shape) == 4 and shape[3] == 1
+ return len(shape) == 3 or (len(shape) == 4 and shape[3] == 1)
56
57
58
def get_first_3dfile(in_files):
0 commit comments