Skip to content

Commit

Permalink
move to fix pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
harveydevereux committed Nov 1, 2024
1 parent 733eb6b commit 9c6e141
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions janus_core/helpers/observables.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ def _set_components(self, components: list[str]):

# pylint: disable=too-few-public-methods
class Stress(Observable, ComponentMixin):
__module__ = "observables"
"""
Observable for stress components.
Expand All @@ -161,6 +160,8 @@ class Stress(Observable, ComponentMixin):
Calculate with the ideal gas contribution.
"""

__module__ = "observables"

def __init__(
self,
*,
Expand Down Expand Up @@ -234,7 +235,6 @@ def __call__(self, atoms: Atoms) -> list[float]:

# pylint: disable=too-few-public-methods
class Velocity(Observable, ComponentMixin):
__module__ = "observables"
"""
Observable for per atom velocity components.
Expand All @@ -246,6 +246,8 @@ class Velocity(Observable, ComponentMixin):
List or slice of atoms to observe velocities from.
"""

__module__ = "observables"

def __init__(
self,
*,
Expand Down

0 comments on commit 9c6e141

Please sign in to comment.