Skip to content

Instantly share code, notes, and snippets.

@OrkoHunter
OrkoHunter / dipy_tests_warning.txt
Last active February 4, 2016 11:43
Warnings generated in testing dipy
dipy.core.tests.test_geometry.test_sphere_cart((array(0.5), array(0.4999999999999999), array(0.7071067811865476)), array([ 0.5 , 0.5 , 0.70710678])) ... ok
/home/travis/build/nipy/dipy/venv/lib/python3.5/site-packages/dipy/core/geometry.py:128: RuntimeWarning: invalid value encountered in double_scalars
theta = np.arccos(z / r)
---
dipy.io.tests.test_io_gradients.test_read_bvals_bvecs ... ok
Doctest: dipy.reconst.benchmarks.bench_squash.old_squash ... /home/travis/build/nipy/dipy/venv/lib/python3.5/site-packages/dipy/reconst/benchmarks/bench_squash.py:75: FutureWarning: comparison to `None` will result in an elementwise object comparison in the future.
mask = arr != np.array(None)
ok