Skip to content

Commit

Permalink
Apply new ruff fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliottKasoar committed Jan 15, 2025
1 parent 8bb12eb commit 5dcc445
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion janus_core/processing/correlator.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,9 @@ def update(self, atoms: Atoms) -> None:
Atoms object to observe values from.
"""
# All pairs of data to be correlated.
value_pairs = zip(self._get_a(atoms).flatten(), self._get_b(atoms).flatten(), strict=True)
value_pairs = zip(
self._get_a(atoms).flatten(), self._get_b(atoms).flatten(), strict=True
)
if self._correlators is None:
# Initialise correlators automatically.
self._correlators = [
Expand Down

0 comments on commit 5dcc445

Please sign in to comment.