Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeilstenedmands committed Oct 24, 2023
1 parent 68400db commit 4bf2b00
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/algorithms/indexing/test_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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
)


Expand Down

0 comments on commit 4bf2b00

Please sign in to comment.