Skip to content

Commit 65ec11c

Browse files
authored
Merge pull request #772 from pweigel/fix_i3tray
Fix deprecated I3Tray imports
2 parents 89cef52 + 63044f6 commit 65ec11c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docker/gnn-benchmarking/apply.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from os.path import join, dirname
77
from typing import List
88

9-
from I3Tray import I3Tray # pyright: reportMissingImports=false
9+
from icecube.icetray import I3Tray # pyright: reportMissingImports=false
1010

1111
from graphnet.deployment.i3modules import I3InferenceModule
1212
from graphnet.data.extractors.i3featureextractor import (

examples/01_icetray/04_i3_module_in_native_icetray_example.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
if has_icecube_package() or TYPE_CHECKING:
2121
from icecube import icetray, dataio # pyright: reportMissingImports=false
22-
from I3Tray import I3Tray
22+
from icecube.icetray import I3Tray
2323

2424
from graphnet.deployment.i3modules import (
2525
I3InferenceModule,

src/graphnet/deployment/icecube/i3deployer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
if has_icecube_package() or TYPE_CHECKING:
1313
from icecube import icetray, dataio # pyright: reportMissingImports=false
14-
from I3Tray import I3Tray
14+
from icecube.icetray import I3Tray
1515

1616

1717
class I3Deployer(Deployer):

tests/deployment/queso_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
if has_icecube_package() or TYPE_CHECKING:
2121
from icecube import icetray, dataio # pyright: reportMissingImports=false
22-
from I3Tray import I3Tray
22+
from icecube.icetray import I3Tray
2323

2424
from graphnet.deployment.i3modules import (
2525
I3InferenceModule,

0 commit comments

Comments
 (0)