neurodata / ndgrutedb

Pipeline and tools for estimating human connectomes from Diffusion, Structural, and Functional MRI
http://neurodata.io
Apache License 2.0
29 stars 13 forks source link

Fix (propagate) nibabel change in extract_b0 #80

Closed wrgr closed 9 years ago

wrgr commented 9 years ago

I think this is the offending line: out = Nifti1Image( b0_data, affine=d_img.get_affine(), header=b0_head )

in any case, nibabel changed, and we don't need data=X anymore.