You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test test_get_zernike_modes_sensorless is failing:
$ python3 microAO/testsuite/test_functions.py TestAOFunctions.test_get_zernike_modes_sensorless
[...]
======================================================================
FAIL: test_get_zernike_modes_sensorless (__main__.TestAOFunctions)
----------------------------------------------------------------------
Traceback (most recent call last):
File "microAO/testsuite/test_functions.py", line 291, in test_get_zernike_modes_sensorless
np.testing.assert_almost_equal(-1 * coef[noll_ind-1], self.true_max_modes_z[noll_ind-1],decimal=2)
File "/home/carandraug/.local/lib/python3.7/site-packages/numpy/testing/_private/utils.py", line 595, in assert_almost_equal
raise AssertionError(_build_err_msg())
AssertionError:
Arrays are not almost equal to 2 decimals
ACTUAL: 0.0
DESIRED: 0.3
----------------------------------------------------------------------
Ran 1 test in 0.843s
FAILED (failures=1)
I have tried to checkout older versions of the code. This test was added in 394acb9 on on my setup it still failed. This might be some version incompatibility. Here's the stuff I'm running (Debian 10):
The test
test_get_zernike_modes_sensorless
is failing:I have tried to checkout older versions of the code. This test was added in 394acb9 on on my setup it still failed. This might be some version incompatibility. Here's the stuff I'm running (Debian 10):
The text was updated successfully, but these errors were encountered: