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_coherence_linear_dependence consistently fails #150

Open
yarikoptic opened this issue Jan 6, 2017 · 0 comments
Open

test_coherence_linear_dependence consistently fails #150

yarikoptic opened this issue Jan 6, 2017 · 0 comments

Comments

@yarikoptic
Copy link
Member

======================================================================
FAIL: Tests that the coherence between two linearly dependent time-series
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/build/nitime-0.7/debian/tmp/usr/lib/python2.7/dist-packages/nitime/algorithms/tests/test_coherence.py", line 244, in test_coherence_linear_dependence
    npt.assert_array_almost_equal(c[0, 1], c_t, 2)
  File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 979, in assert_array_almost_equal
    precision=decimal)
  File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 796, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Arrays are not almost equal to 2 decimals

(mismatch 99.1219512195%)
 x: array([ 0.99,  1.  ,  1.  , ...,  0.81,  0.88,  0.93])
 y: array([ 1.  ,  0.99,  1.  , ...,  1.01,  0.99,  1.  ])

may be due to having numpy 1.12.0~rc2

yarikoptic added a commit to neurodebian/nitime that referenced this issue Jan 9, 2017
* debian/control
  - added python-{setuptools,pytest} into build-depends
* debian/rules
  - skip slightly failing test_coherence_linear_dependence for now
    (see nipy#150)
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

1 participant