Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test failure in travis #1698

skoudoro opened this issue Dec 19, 2018 · 2 comments


Copy link

commented Dec 19, 2018


Something to investigate. I suppose it is due to a new package release (Numpy or scipy). Below the error:

ERROR: dipy.core.tests.test_sphere.test_interp_rbf
Traceback (most recent call last):
  File "/home/travis/build/nipy/dipy/venv/lib/python3.4/site-packages/nose/", line 198, in runTest
  File "/home/travis/build/nipy/dipy/venv/lib/python3.4/site-packages/dipy/core/tests/", line 375, in test_interp_rbf
    interp_data_a = interp_rbf(data, s0, s1, norm="angle")
  File "/home/travis/build/nipy/dipy/venv/lib/python3.4/site-packages/dipy/core/", line 572, in interp_rbf
  File "/home/travis/build/nipy/dipy/venv/lib/python3.4/site-packages/scipy/interpolate/", line 241, in __init__
    self.nodes = linalg.solve(self.A, self.di)
  File "/home/travis/build/nipy/dipy/venv/lib/python3.4/site-packages/scipy/interpolate/", line 247, in A
    r = squareform(pdist(self.xi.T, self.norm))  # Pairwise norm
  File "/home/travis/build/nipy/dipy/venv/lib/python3.4/site-packages/scipy/spatial/", line 2030, in pdist
    dm[k] = metric(X[i], X[j], **kwargs)
  File "/home/travis/build/nipy/dipy/venv/lib/python3.4/site-packages/dipy/core/", line 544, in angle
    xx[np.isnan(xx)] = 0
TypeError: 'numpy.float64' object does not support item assignment

This comment has been minimized.

Copy link

commented Dec 27, 2018

@jhlegarreta : I just submitted a PR with a potential fix in #1708, so you'll probably want to rebase all of your PRs (what a 🎄gift!) once that's resolved.


This comment has been minimized.

Copy link

commented Dec 27, 2018

@arokem Sure. Will do once it gets merged. Thanks for the fix and the note.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.