pnlbwh / pnlNipype

PNL pipeline for NIFTI images
Other
10 stars 15 forks source link

Revise ukf.py to catch grad_remove ValueError #109

Closed tashrifbillah closed 1 year ago

tashrifbillah commented 1 year ago

Catch this raise and move on. Also revised the comment about why we should preserve the original dwi

tashrifbillah commented 1 year ago

Yes.

ValueError raises from grad_remove() so nothing after that line executes. So it skips the whole.