From 0baa5725d4e4dc0bac9ea8b7eb8663de7dcef5ab Mon Sep 17 00:00:00 2001 From: "askerosted@gmail.com" Date: Wed, 18 Dec 2024 11:34:33 +0900 Subject: [PATCH] remove from init --- .../data/extractors/icecube/i3highesteparticleextractor.py | 2 +- src/graphnet/data/extractors/icecube/i3totaleextractor.py | 2 +- src/graphnet/data/extractors/icecube/utilities/__init__.py | 2 -- src/graphnet/data/extractors/icecube/utilities/gcd_hull.py | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/graphnet/data/extractors/icecube/i3highesteparticleextractor.py b/src/graphnet/data/extractors/icecube/i3highesteparticleextractor.py index 4ce4af418..70f8eeab9 100644 --- a/src/graphnet/data/extractors/icecube/i3highesteparticleextractor.py +++ b/src/graphnet/data/extractors/icecube/i3highesteparticleextractor.py @@ -2,7 +2,7 @@ from typing import Dict, Any, List, TYPE_CHECKING -from .utilities import GCD_hull +from .utilities.gcd_hull import GCD_hull from .i3extractor import I3Extractor import numpy as np diff --git a/src/graphnet/data/extractors/icecube/i3totaleextractor.py b/src/graphnet/data/extractors/icecube/i3totaleextractor.py index 43cd3ae00..8335ce4d6 100644 --- a/src/graphnet/data/extractors/icecube/i3totaleextractor.py +++ b/src/graphnet/data/extractors/icecube/i3totaleextractor.py @@ -2,7 +2,7 @@ from typing import Dict, Any, List, TYPE_CHECKING -from .utilities import GCD_hull +from .utilities.gcd_hull import GCD_hull from .i3extractor import I3Extractor import numpy as np diff --git a/src/graphnet/data/extractors/icecube/utilities/__init__.py b/src/graphnet/data/extractors/icecube/utilities/__init__.py index ce6698f5e..4e3d30d1c 100644 --- a/src/graphnet/data/extractors/icecube/utilities/__init__.py +++ b/src/graphnet/data/extractors/icecube/utilities/__init__.py @@ -1,3 +1 @@ """Utility methods for use in `graphnet.data.extractors`.""" - -from .gcd_hull import GCD_hull diff --git a/src/graphnet/data/extractors/icecube/utilities/gcd_hull.py b/src/graphnet/data/extractors/icecube/utilities/gcd_hull.py index 537119fbe..f3cbbcff3 100644 --- a/src/graphnet/data/extractors/icecube/utilities/gcd_hull.py +++ b/src/graphnet/data/extractors/icecube/utilities/gcd_hull.py @@ -10,8 +10,8 @@ if has_icecube_package() or TYPE_CHECKING: from icecube import ( - MuonGun, dataclasses, + MuonGun, ) # pyright: reportMissingImports=false