Skip to content

Commit

Permalink
fix filter test
Browse files Browse the repository at this point in the history
  • Loading branch information
Tetracarbonylnickel committed Jul 1, 2024
1 parent df77d79 commit 75d00b5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/unit_tests/configuration_selection/test_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def test_get_selected_atoms(
reduction_axis=reduction_axis,
data=None,
cutoffs=[lower_limit, upper_limit],
n_configurations=4,
n_configurations=3,
min_distance=1,
direction=direction,
)
Expand All @@ -51,9 +51,8 @@ def test_get_selected_atoms(
selected_atoms = filter.select_atoms(atoms_list)
else:
selected_atoms = filter.select_atoms(atoms_list)
print(selected_atoms)

assert len(set(selected_atoms)) == 4
assert len(set(selected_atoms)) == 3
assert isinstance(selected_atoms, list)

if direction == "above":
Expand Down

0 comments on commit 75d00b5

Please sign in to comment.