Closed eric-tramel closed 7 years ago
@mborgerding Since you've already had a hand at 2.7 compatibility, could you take a look at this discrepancy we're observing between 3.5 & 2.7 in the unit tests?
Mark, Let me make a check in first. I realized I didn't add the from future import division everywhere.
Sundeep
On Thu, Jan 26, 2017 at 5:49 PM, Eric W. Tramel notifications@github.com wrote:
@mborgerding https://github.com/mborgerding Since you've already had a hand at 2.7 compatibility, could you take a look at this discrepancy we're observing between 3.5 & 2.7 in the unit tests?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GAMPTeam/vampyre/issues/3#issuecomment-275538895, or mute the thread https://github.com/notifications/unsubscribe-auth/ANO8I2yZg0YAnVc8ha1RuNwSjgymjxFWks5rWSLygaJpZM4LupIt .
The problems appear to not arise after I added from future import division. All test pass now.
I am having some discrepancies when running tests in either Python 3 or in Python 2.7. I have included the full test logs at the end. Specifically, Python 2.7 seems to have issues with the following tests:
estim.linear.lin_test_mult
-- "Posterior estimate Gaussian error does not match value"estim.linear_two.lin_two_test-mult
-- "Error in second order terms"solver.vamp.vamp_test_mult
-- "Variance does not match"vamp_spare_test.sparse_inv
-- "Final MSE = 0.000000" (seems okay but sends aFail
signal.)These tests pass on Python 3. If we want to support Python 2.7 going forward, we'll need to look at the discrepancies that are causing these errors.
Python 3 Test Output
Python 2.7 Test Output