From 424555a4d1a8bed94e616e55965ef2d3b5e1ac1b Mon Sep 17 00:00:00 2001 From: nmannall Date: Thu, 18 Apr 2024 17:48:26 +0100 Subject: [PATCH] Remove @abstractmethod from method that is never implemented --- gprMax/cmds_multiuse.py | 2 +- gprMax/cmds_singleuse.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gprMax/cmds_multiuse.py b/gprMax/cmds_multiuse.py index dd7af1a4..d1fbccd9 100644 --- a/gprMax/cmds_multiuse.py +++ b/gprMax/cmds_multiuse.py @@ -78,7 +78,7 @@ class UserObjectMulti(ABC): """Creates object and adds it to grid.""" pass - @abstractmethod + # TODO: Check if this is actually needed def rotate(self, axis, angle, origin=None): """Rotates object (specialised for each object).""" pass diff --git a/gprMax/cmds_singleuse.py b/gprMax/cmds_singleuse.py index 69c7b607..51508afc 100644 --- a/gprMax/cmds_singleuse.py +++ b/gprMax/cmds_singleuse.py @@ -54,7 +54,7 @@ class UserObjectSingle(ABC): def build(self, grid: FDTDGrid, uip: UserInput): pass - @abstractmethod + # TODO: Check if this is actually needed def rotate(self, axis, angle, origin=None): pass