[Debian-astro-maintainers] Bug#902542: photutils: autopkgtest failure with skimage 0.14.0

Graham Inggs ginggs at debian.org
Wed Jun 27 16:34:08 BST 2018


Source: photutils
Version: 0.4-4
User: debian-ci at lists.debian.org
Usertags: needs-update

Hi Maintainer

Since the upload of skimage 0.14.0-1 to unstable, photutils has been
failing its autopkgtests [1] with several errors similar to the
following:

_____________ test_centroids[25.7-26.2-3.2-5.7-0.5235987755982988] _____________

xc_ref = 25.7, yc_ref = 26.2, x_stddev = 3.2, y_stddev = 5.7
theta = 0.5235987755982988

    @pytest.mark.parametrize(
        ('xc_ref', 'yc_ref', 'x_stddev', 'y_stddev', 'theta'),
        list(itertools.product(XCS, YCS, XSTDDEVS, YSTDDEVS, THETAS)))
    @pytest.mark.skipif('not HAS_SKIMAGE')
    def test_centroids(xc_ref, yc_ref, x_stddev, y_stddev, theta):
        model = Gaussian2D(2.4, xc_ref, yc_ref, x_stddev=x_stddev,
                           y_stddev=y_stddev, theta=theta)
        y, x = np.mgrid[0:50, 0:47]
        data = model(x, y)

        xc, yc = centroid_com(data)
>       assert_allclose([xc_ref, yc_ref], [xc, yc], rtol=0, atol=1.e-3)
E       AssertionError:
E       Not equal to tolerance rtol=0, atol=0.001
E
E       (mismatch 100.0%)
E        x: array([25.7, 26.2])
E        y: array([26.19992 , 25.700027])

Regards
Graham


[1] https://ci.debian.net/packages/p/photutils/unstable/amd64/



More information about the Debian-astro-maintainers mailing list