From 515c8a0f3eb657ec7f6376d3e023095214da327a Mon Sep 17 00:00:00 2001 From: Rick Wierenga Date: Wed, 18 Sep 2024 10:57:26 -0700 Subject: [PATCH] Coordinate.zero static instead of class method --- pylabrobot/resources/coordinate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pylabrobot/resources/coordinate.py b/pylabrobot/resources/coordinate.py index a915e7618c..c8262a142c 100644 --- a/pylabrobot/resources/coordinate.py +++ b/pylabrobot/resources/coordinate.py @@ -18,8 +18,8 @@ def __post_init__(self): self.y = round(self.y, 4) self.z = round(self.z, 4) - @classmethod - def zero(cls) -> Coordinate: + @staticmethod + def zero() -> Coordinate: return Coordinate(0, 0, 0) def __add__(self, other) -> Coordinate: