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

test_reproject_celestial_3d FAILED on i386 #111

Closed
olebole opened this issue Jul 20, 2016 · 1 comment
Closed

test_reproject_celestial_3d FAILED on i386 #111

olebole opened this issue Jul 20, 2016 · 1 comment

Comments

@olebole
Copy link
Member

olebole commented Jul 20, 2016

During the build on i386, the test_reproject_celestial_3d test failed:

_________________________ test_reproject_celestial_3d __________________________

    def test_reproject_celestial_3d():
        [...]
        out_full, foot_full = _reproject_full(array_in, wcs_in, wcs_out, (3, 160, 170))
        out_celestial, foot_celestial = _reproject_celestial(array_in, wcs_in, wcs_out, (3, 160, 170))
>       np.testing.assert_allclose(out_full, out_celestial)

reproject/interpolation/tests/test_core.py:391: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

x_id = array([[[ True,  True,  True, ...,  True,  True,  True],
        [ True,  True...  True],
        [ True,  True,  True, ...,  True,  True,  True]]], dtype=bool)
y_id = array([[[False, False, False, ...,  True,  True,  True],
        [False, False...  True],
        [ True,  True,  True, ...,  True,  True,  True]]], dtype=bool)
hasval = 'nan'

    def chk_same_position(x_id, y_id, hasval='nan'):
        try:
            assert_array_equal(x_id, y_id)
        except AssertionError:
            msg = build_err_msg([x, y],
                                err_msg + '\nx and y %s location mismatch:'
                                % (hasval), verbose=verbose, header=header,
                                names=('x', 'y'), precision=precision)
>           raise AssertionError(msg)
E           AssertionError: 
E           Not equal to tolerance rtol=1e-07, atol=0
E           
E           x and y nan location mismatch:
E            x: array([[[ nan,  nan,  nan, ...,  nan,  nan,  nan],
E                   [ nan,  nan,  nan, ...,  nan,  nan,  nan],
E                   [ nan,  nan,  nan, ...,  nan,  nan,  nan],...
E            y: array([[[  1.,   1.,   1., ...,  nan,  nan,  nan],
E                   [  1.,   1.,   1., ...,  nan,  nan,  nan],
E                   [  1.,   1.,   1., ...,  nan,  nan,  nan],...

/usr/lib/python2.7/dist-packages/numpy/testing/utils.py:680: AssertionError

Full build log here.

@astrofrog
Copy link
Member

@olebole - this should now be fixed, thanks for reporting and sorry for the delay!

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

2 participants