Skip to content

Commit e4b18c6

Browse files
author
steve
committed
corrected wrong deletion of line
1 parent 6750f15 commit e4b18c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/dmri_camino_dti.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ def get_data_dims(volume):
4747
import nibabel as nb
4848
if isinstance(volume, list):
4949
volume = volume[0]
50+
nii = nb.load(volume)
5051
hdr = nii.header
5152
datadims = hdr.get_data_shape()
5253
return [int(datadims[0]), int(datadims[1]), int(datadims[2])]

0 commit comments

Comments
 (0)