Skip to content

Commit 238fec1

Browse files
committed
support for multiple dcm2niix versions
1 parent d337ff3 commit 238fec1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/dcm2nii.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def _parse_stdout(self, stdout):
292292
bvals.append(out_file + ".bval")
293293
find_b = False
294294
# next scan will have bvals/bvecs
295-
elif 'DTI gradients' in line:
295+
elif 'DTI gradients' in line or 'DTI gradient directions' in line:
296296
find_b = True
297297
else:
298298
pass

0 commit comments

Comments
 (0)