From 77ce6b73df2f31ee4a12cf5b02171a0b9d6f9088 Mon Sep 17 00:00:00 2001 From: nmannall Date: Thu, 18 Apr 2024 17:33:15 +0100 Subject: [PATCH] Make SubGridBaseGrid actually abstract --- gprMax/subgrids/grid.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gprMax/subgrids/grid.py b/gprMax/subgrids/grid.py index 1ac04fa3..20118026 100644 --- a/gprMax/subgrids/grid.py +++ b/gprMax/subgrids/grid.py @@ -17,14 +17,14 @@ # along with gprMax. If not, see . import logging -from abc import abstractmethod +from abc import ABC, abstractmethod from gprMax.grid.fdtd_grid import FDTDGrid logger = logging.getLogger(__name__) -class SubGridBaseGrid(FDTDGrid): +class SubGridBaseGrid(FDTDGrid, ABC): def __init__(self, *args, **kwargs): super().__init__() @@ -82,4 +82,4 @@ class SubGridBaseGrid(FDTDGrid): @abstractmethod def print_info(self): - pass + pass