Skip to content

smtbx/refinement/restraints/tests/tst_restraints.py broken on Python 3 #363

Open
@Anthchirp

Description

@Anthchirp

loads of tests still failing on python 3. This one is run by azure:
https://dev.azure.com/cctbx/cctbx_project/_build/results?buildId=184

libtbx.python smtbx/refinement/restraints/tests/tst_restraints.py --verbose --scatterers=5 --resolution=0.2

  Standard error:
    Traceback (most recent call last):
      File "/__w/1/modules/cctbx_project/smtbx/refinement/restraints/tests/tst_restraints.py", line 454, in <module>
        run()
      File "/__w/1/modules/cctbx_project/smtbx/refinement/restraints/tests/tst_restraints.py", line 451, in run
        exercise_ls_restraints(command_line.options)
      File "/__w/1/modules/cctbx_project/smtbx/refinement/restraints/tests/tst_restraints.py", line 424, in exercise_ls_restraints
        exercise_restrained_refinement(options)
      File "/__w/1/modules/cctbx_project/smtbx/refinement/restraints/tests/tst_restraints.py", line 378, in exercise_restrained_refinement
        assert approx_equal(d, p.distance_ideal, eps)
    AssertionError

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions