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

OSX test fail 'we check the default value of lambda ...' #611

Closed
matthew-brett opened this issue Mar 20, 2015 · 2 comments
Closed

OSX test fail 'we check the default value of lambda ...' #611

matthew-brett opened this issue Mar 20, 2015 · 2 comments

Comments

@matthew-brett
Copy link
Contributor

Anyone recognize this one?

======================================================================
FAIL: We check that the default value of lambda is the expected value with
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/travis/build/MacPython/dipy-wheels/venv/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/Users/travis/build/MacPython/dipy-wheels/venv/lib/python2.7/site-packages/dipy/reconst/tests/test_csdeconv.py", line 454, in test_default_lambda_csdmodel
    npt.assert_array_almost_equal(model_full.B_reg, expected * B_reg)
  File "/Users/travis/build/MacPython/dipy-wheels/venv/lib/python2.7/site-packages/numpy/testing/utils.py", line 800, in assert_array_almost_equal
    header=('Arrays are not almost equal to %d decimals' % decimal))
  File "/Users/travis/build/MacPython/dipy-wheels/venv/lib/python2.7/site-packages/numpy/testing/utils.py", line 636, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Arrays are not almost equal to 6 decimals
(mismatch 23.9533456108%)
 x: array([[  2.32929569e+01,   0.00000000e+00,  -0.00000000e+00, ...,
          0.00000000e+00,   0.00000000e+00,   0.00000000e+00],
       [  2.32929569e+01,  -1.22849454e+00,  -5.02810375e+00, ...,...
 y: array([[  2.32929581e+01,   0.00000000e+00,  -0.00000000e+00, ...,
          0.00000000e+00,   0.00000000e+00,   0.00000000e+00],
       [  2.32929581e+01,  -1.22849461e+00,  -5.02810401e+00, ...,...

https://travis-ci.org/MacPython/dipy-wheels/jobs/55117917#L1270

@arokem
Copy link
Contributor

arokem commented Mar 20, 2015

Interesting. I see this on python 3.4, but not 2.7, on my (mac) laptop.
Seems to go away with increased precision (#612), but maybe this is the
canary in the coal-mine?

This is not our nipy/dipy travis configuration, right? How/where are you
running this?

On Thu, Mar 19, 2015 at 10:05 PM, Matthew Brett notifications@github.com
wrote:

Anyone recognize this one?

FAIL: We check that the default value of lambda is the expected value with

Traceback (most recent call last):
File "/Users/travis/build/MacPython/dipy-wheels/venv/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/travis/build/MacPython/dipy-wheels/venv/lib/python2.7/site-packages/dipy/reconst/tests/test_csdeconv.py", line 454, in test_default_lambda_csdmodel
npt.assert_array_almost_equal(model_full.B_reg, expected * B_reg)
File "/Users/travis/build/MacPython/dipy-wheels/venv/lib/python2.7/site-packages/numpy/testing/utils.py", line 800, in assert_array_almost_equal
header=('Arrays are not almost equal to %d decimals' % decimal))
File "/Users/travis/build/MacPython/dipy-wheels/venv/lib/python2.7/site-packages/numpy/testing/utils.py", line 636, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not almost equal to 6 decimals
(mismatch 23.9533456108%)
x: array([[ 2.32929569e+01, 0.00000000e+00, -0.00000000e+00, ...,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00],
[ 2.32929569e+01, -1.22849454e+00, -5.02810375e+00, ...,...
y: array([[ 2.32929581e+01, 0.00000000e+00, -0.00000000e+00, ...,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00],
[ 2.32929581e+01, -1.22849461e+00, -5.02810401e+00, ...,...

https://travis-ci.org/MacPython/dipy-wheels/jobs/55117917#L1270


Reply to this email directly or view it on GitHub
#611.

@arokem
Copy link
Contributor

arokem commented Oct 12, 2015

This one was resolved in #612

@arokem arokem closed this as completed Oct 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants