From 9c6e1415a03d72ba4c63e814a27abe3caa7c8357 Mon Sep 17 00:00:00 2001 From: Harvey Devereux Date: Fri, 1 Nov 2024 14:40:30 +0000 Subject: [PATCH] move to fix pre-commit --- janus_core/helpers/observables.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/janus_core/helpers/observables.py b/janus_core/helpers/observables.py index 9f5ca830..6b82239d 100644 --- a/janus_core/helpers/observables.py +++ b/janus_core/helpers/observables.py @@ -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. @@ -161,6 +160,8 @@ class Stress(Observable, ComponentMixin): Calculate with the ideal gas contribution. """ + __module__ = "observables" + def __init__( self, *, @@ -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. @@ -246,6 +246,8 @@ class Velocity(Observable, ComponentMixin): List or slice of atoms to observe velocities from. """ + __module__ = "observables" + def __init__( self, *,