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 10 months ago

tashrifbillah commented 10 months ago

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

tashrifbillah commented 10 months ago

Yes.

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