From 52b2eaaeb5a56139f2b47ac39a465d94dcedf8ec Mon Sep 17 00:00:00 2001 From: Pim Nelissen Date: Mon, 2 Feb 2026 11:33:20 +0100 Subject: [PATCH] rename Object to BaseObject --- src/pg_rad/objects/objects.py | 2 +- src/pg_rad/objects/sources.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pg_rad/objects/objects.py b/src/pg_rad/objects/objects.py index 39ab185..57ed76b 100644 --- a/src/pg_rad/objects/objects.py +++ b/src/pg_rad/objects/objects.py @@ -1,7 +1,7 @@ import math from typing import Self -class Object: +class BaseObject: def __init__( self, x: float, diff --git a/src/pg_rad/objects/sources.py b/src/pg_rad/objects/sources.py index ec7c18d..74c5623 100644 --- a/src/pg_rad/objects/sources.py +++ b/src/pg_rad/objects/sources.py @@ -1,11 +1,11 @@ import logging -from .objects import Object +from .objects import BaseObject from pg_rad.isotopes import Isotope logger = logging.getLogger(__name__) -class PointSource(Object): +class PointSource(BaseObject): _id_counter = 1 def __init__( self,