You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RuntimeWarning: divide by zero encountered in log
D[..., 6] = -np.log(b0)
This originates from dipy/reconst/dti.py:2120, which is in method lower_triangular, which is called through our own line 215: tenfit = tenmodel.fit(data, mask)
The text was updated successfully, but these errors were encountered:
Fun fact: debugging warnings can be made easier by making pytest crash on warnings, which makes the interpreter show the full traceback https://stackoverflow.com/a/59383021
In the pytest of scil_dti_metrics:
RuntimeWarning: divide by zero encountered in log
D[..., 6] = -np.log(b0)
This originates from dipy/reconst/dti.py:2120, which is in method lower_triangular, which is called through our own line 215: tenfit = tenmodel.fit(data, mask)
The text was updated successfully, but these errors were encountered: