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

The tolerance for the missing marker test may be too small. #108

Open
moorepants opened this issue Nov 19, 2014 · 1 comment
Open

The tolerance for the missing marker test may be too small. #108

moorepants opened this issue Nov 19, 2014 · 1 comment

Comments

@moorepants
Copy link
Member

======================================================================

FAIL: gaitanalysis.tests.test_motek.TestDFlowData.test_interpolate_missing_markers

----------------------------------------------------------------------

Traceback (most recent call last):

File "/home/travis/virtualenv/python2.7_with_system_site_packages/lib/python2.7/site-packages/nose/case.py", line 197, in runTest

self.test(*self.arg)

File "/home/travis/build/csu-hmc/GaitAnalysisToolKit/gaitanalysis/tests/test_motek.py", line 893, in test_interpolate_missing_markers

atol=1e-3)

File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 1168, in assert_allclose

verbose=verbose, header=header)

File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 636, in assert_array_compare

raise AssertionError(msg)

AssertionError:

Not equal to tolerance rtol=1e-07, atol=0.001

(mismatch 100.0%)

x: array([ 0.990343, 0.99178 , 0.993047, ..., 0.525993, 0.517638,

0.508187])

y: array([ 0.99034329, 0.99177959, 0.99304728, ..., 0.52599281,

0.51763803, 0.50818669])

Name Stmts Miss Cover Missing

------------------------------------------------------

gaitanalysis 1 0 100%

gaitanalysis.controlid 273 96 65% 23, 116, 136, 404, 478, 484-486, 495-496, 525-595, 619-658, 682-717, 765

gaitanalysis.gait 389 197 49% 24, 69-75, 282-292, 346, 353, 357, 377-394, 454, 459-548, 606, 644-645, 677-681, 704-709, 728-729, 755-756, 830-833, 870-953, 977-1035

gaitanalysis.markers 47 9 81% 104, 108, 111, 143, 157-163

gaitanalysis.motek 480 48 90% 23, 457-461, 912, 971-974, 996, 1193, 1195, 1198, 1201, 1254-1291, 1544-1545, 1552-1556, 1577

gaitanalysis.utils 7 3 57% 12-15

gaitanalysis.version 1 0 100%

------------------------------------------------------

TOTAL 1198 353 71%

----------------------------------------------------------------------

Ran 53 tests in 54.343s

FAILED (failures=1)
@moorepants
Copy link
Member Author

@sabrinaabram This is probably easy to fix. The test failure may not be reproducible on your computer but is happening on the Travis ci testing machine.

https://travis-ci.org/csu-hmc/GaitAnalysisToolKit/builds/41114121

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