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

Closed
skoudoro opened this issue Dec 19, 2018 · 2 comments

Comments

@skoudoro
Copy link
Member

commented Dec 19, 2018

Description

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/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/home/travis/build/nipy/dipy/venv/lib/python3.4/site-packages/dipy/core/tests/test_sphere.py", 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/sphere.py", line 572, in interp_rbf
    **kwargs)
  File "/home/travis/build/nipy/dipy/venv/lib/python3.4/site-packages/scipy/interpolate/rbf.py", 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/rbf.py", 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/distance.py", 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/sphere.py", line 544, in angle
    xx[np.isnan(xx)] = 0
TypeError: 'numpy.float64' object does not support item assignment
----------------------------------------------------------------------
@arokem

This comment has been minimized.

Copy link
Member

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.

@jhlegarreta

This comment has been minimized.

Copy link
Contributor

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
Projects
None yet
3 participants
You can’t perform that action at this time.