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

Intermittent test failures in `test_streamline` #1694

arokem opened this issue Dec 17, 2018 · 2 comments


Copy link

commented Dec 17, 2018

I am working in the streamline module (PR to come soon!), and I am getting this kind of test failure appearing every 5 or 6 times I run the test suite for this module:

FAIL: dipy.tracking.tests.test_streamline.test_deform_streamlines
Traceback (most recent call last):
  File "/Users/arokem/.virtualenvs/dipy/lib/python3.7/site-packages/nose/", line 198, in runTest
  File "/Users/arokem/source/dipy/dipy/tracking/tests/", line 561, in test_deform_streamlines
    assert_allclose(s, o, rtol=1e-10, atol=0)
  File "/Users/arokem/.virtualenvs/dipy/lib/python3.7/site-packages/numpy/testing/_private/", line 1452, in assert_allclose
    verbose=verbose, header=header, equal_nan=equal_nan)
  File "/Users/arokem/.virtualenvs/dipy/lib/python3.7/site-packages/numpy/testing/_private/", line 789, in assert_array_compare
    raise AssertionError(msg)
Not equal to tolerance rtol=1e-10, atol=0

(mismatch 100.0%)
 x: array([82.20181 , 91.36506 , 43.15737 , 81.3548  , 96.24868 , 49.895588],
 y: array([132.403147,  91.084219,  42.866592, 153.966459,  95.882702,

Ran 18 tests in 5.406s

This comment has been minimized.

Copy link

commented Dec 18, 2018

I got this same weird behavior on my Mac or Linux but it never happens to windows. I wonder whether it is OS specific or not.


This comment has been minimized.

Copy link

commented Jul 16, 2019

It is a really long time we did not get this error / weird behavior. Closing! Feel free to reopen it if you see it again

@skoudoro skoudoro closed this Jul 16, 2019

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