Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
James Parkhurst committed Oct 21, 2024
1 parent 0d7ea20 commit 642f038
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/test_sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ def test_sample_with_motion(tmp_path):
position = np.array(position)
direction = np.random.uniform(-np.pi, np.pi, size=position.shape[0])

global_drift = config["motion"]["global_drift"]
interaction_range = config["motion"]["interaction_range"]
velocity = config["motion"]["velocity"]
noise_magnitude = np.radians(config["motion"]["noise_magnitude"])
Expand All @@ -582,7 +583,12 @@ def test_sample_with_motion(tmp_path):
):
position, direction = (
parakeet.sample.motion.update_particle_position_and_direction(
position, direction, interaction_range, velocity, noise_magnitude
position,
direction,
global_drift,
interaction_range,
velocity,
noise_magnitude,
)
)
print(
Expand Down

0 comments on commit 642f038

Please sign in to comment.