Skip to content

Commit 2f2c9a2

Browse files
committed
enable image saving after bshell splitting
1 parent cd5449e commit 2f2c9a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/separateBshells.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def separateBshells(imgPath, ref_bvals_file=None, ref_bvals=None):
6262
b0_bvecs= np.zeros((N_b+1,3), dtype='float32')
6363
b0_bvecs[1:,]= bvecs[ind,: ]
6464

65-
# save_nifti(bPrefix+'.nii.gz', b0_bshell, img.affine, img.header)
65+
save_nifti(bPrefix+'.nii.gz', b0_bshell, img.affine, img.header)
6666
write_bvals(bPrefix+'.bval', b0_bvals)
6767
write_bvecs(bPrefix+'.bvec', b0_bvecs)
6868

0 commit comments

Comments
 (0)