Closed rafaeltiveron closed 5 years ago
Please, in order to discard problems with nosetests, could you please:
cd lightdock
and then
nosetests-2.7 --exe
Sure:
LightDock/lightdock $ nosetests-2.7 --exe
@> ProDy is configured: verbosity='info'
................................................................................ ...................F............................................................ ................................................................................ ...
======================================================================
FAIL: lightdock.test.mathutil.test_ellipsoid.TestEllipsoid.test_calculate_center
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/rafael/programas/LightDock/lightdock/test/mathutil/test_ellipsoid. py", line 70, in test_calculate_center
assert np.allclose(ellipsoid.center, [0.67988148, 0.50782009, 1.02831747], E RROR_TOLERANCE)
AssertionError
----------------------------------------------------------------------
Ran 243 tests in 47.571s
FAILED (failures=1)
Now it looks correct. Probably a +x permission issue. There is one test which is not passing, but it's only a numerical instability issue, nothing to worry about. If you want to pass the rest of tests (regression), just remove execution permission to the .py files or just add in run_tests.sh
the flag --exe
after nosetests-2.7
.
Thank you. I ran the rest of tests and it is all ok. Just one observation: before running for the first time run_tests.sh, I had to install python-nose
, too, even with python-nose2
just installed.
Thank you for your comment, I will also add python-nose
to the list of dependencies.
Probably test didn't work.