From 4bf2b00f8c253499fbc405922a40cfd161e04a0c Mon Sep 17 00:00:00 2001 From: James Beilsten-Edmands <30625594+jbeilstenedmands@users.noreply.github.com> Date: Tue, 24 Oct 2023 13:41:53 +0100 Subject: [PATCH] Fix test --- tests/algorithms/indexing/test_index.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/algorithms/indexing/test_index.py b/tests/algorithms/indexing/test_index.py index 8d460559b4..957b6f658e 100644 --- a/tests/algorithms/indexing/test_index.py +++ b/tests/algorithms/indexing/test_index.py @@ -536,6 +536,9 @@ def test_index_small_molecule_multi_sequence_3( # expect at least indexed 2000 reflections per experiment for i in range(3): assert (result.indexed_reflections["id"] == i).count(True) > 2000 + n_indexed_run1 = result.indexed_reflections.get_flags( + result.indexed_reflections.flags.indexed + ).count(True) # reindex with known orientations result = run_indexing( tmp_path / "indexed.refl", @@ -550,7 +553,7 @@ def test_index_small_molecule_multi_sequence_3( result.indexed_reflections.get_flags( result.indexed_reflections.flags.indexed ).count(True) - > 12000 + > n_indexed_run1 )