Skip to content

Commit

Permalink
Ignore trusted-range in dxtbx.average test
Browse files Browse the repository at this point in the history
This behaviour has changed in cctbx, however has not been
backported to the release.
  • Loading branch information
ndevenish authored and DiamondLightSource-build-server committed Apr 17, 2024
1 parent d15ff8c commit 5f7ae58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/command_line/test_average.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ def test_average(dials_data, tmp_path, use_mpi):
h5 = dxtbx.load(data).get_detector()
cbf = dxtbx.load(tmp_path / "avg.cbf").get_detector()

assert h5.is_similar_to(cbf)
assert h5.is_similar_to(cbf, ignore_trusted_range=True)
assert h5[0].get_gain() == cbf[0].get_gain()

0 comments on commit 5f7ae58

Please sign in to comment.