Source: pygalmesh
Version: 0.10.6-1
Severity: serious
Tags: sid trixie
User: debian...@lists.debian.org
Usertags: regression

Hi Maintainer

Sometime between 2023-11-08 and 2023-12-06, pygalmesh's autopkgtests
started to fail in testing [1][2].  I've copied what I hope is the
relevant part of the log below.

Regards
Graham


[1] https://ci.debian.net/packages/p/pygalmesh/testing/amd64/
[2] https://ci.debian.net/packages/p/pygalmesh/testing/armhf/


98s =================================== FAILURES
===================================
98s ___________________________________ test_inr
___________________________________
98s
98s def test_inr():
98s this_dir = pathlib.Path(__file__).resolve().parent
98s # mesh = pygalmesh.generate_from_inr(
98s # this_dir / "meshes" / "skull_2.9.inr",
max_cell_circumradius=5.0, verbose=False
98s # )
98s with tempfile.TemporaryDirectory() as tmp:
98s out_filename = str(pathlib.Path(tmp) / "out.vtk")
98s pygalmesh._cli.cli(
98s [
98s "from-inr",
98s str(this_dir / "meshes" / "sphere.inr"),
98s out_filename,
98s "--max-cell-circumradius",
98s "1.0",
98s "--quiet",
98s ]
98s )
98s mesh = meshio.read(out_filename)
98s
98s vals_refs = [
98s (max(mesh.points[:, 0]), 9.00478554e00),
98s (min(mesh.points[:, 0]), -4.25843196e-03),
98s (max(mesh.points[:, 1]), 9.00332642e00),
98s (min(mesh.points[:, 1]), -4.41271299e-03),
98s (max(mesh.points[:, 2]), 9.00407982e00),
98s (min(mesh.points[:, 2]), -3.98639357e-03),
98s ]
98s for val, ref in vals_refs:
98s > assert abs(val - ref) < 1.0e-3 * (1.0 + abs(ref)), f"{val:.8e}
!= {ref:.8e}"
98s E AssertionError: -4.99461079e-03 != -3.98639357e-03
98s E assert 0.0010082172201632787 < (0.001 * (1.0 + 0.00398639357))
98s E + where 0.0010082172201632787 = abs((-0.004994611 - -0.00398639357))
98s E + and 0.00398639357 = abs(-0.00398639357)
98s
98s tests/test_inr.py:38: AssertionError

Reply via email to