From 14e97b51804d8770406462be00e56f5218ead324 Mon Sep 17 00:00:00 2001 From: "askerosted@gmail.com" Date: Wed, 18 Dec 2024 14:07:52 +0900 Subject: [PATCH] tuple -> Tuple --- src/graphnet/data/extractors/icecube/i3totaleextractor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graphnet/data/extractors/icecube/i3totaleextractor.py b/src/graphnet/data/extractors/icecube/i3totaleextractor.py index 8335ce4d6..c3da49954 100644 --- a/src/graphnet/data/extractors/icecube/i3totaleextractor.py +++ b/src/graphnet/data/extractors/icecube/i3totaleextractor.py @@ -1,6 +1,6 @@ """Extract all the visible particles entering the volume.""" -from typing import Dict, Any, List, TYPE_CHECKING +from typing import Dict, Any, List, TYPE_CHECKING, Tuple from .utilities.gcd_hull import GCD_hull from .i3extractor import I3Extractor @@ -121,7 +121,7 @@ def total_track_energy( def total_cascade_energy( self, frame: "icetray.I3Frame", checked_id_list: List = [] - ) -> tuple[int, int, Any]: + ) -> Tuple[int, int, Any]: """Get the total energy of cascade particles on entrance.""" e_entrance = 0 e_deposited = 0