Skip to content

Commit 5a7ef81

Browse files
authored
Merge branch 'DR_with_modifications' into DR_raw_bytes_patch
2 parents 28f645c + e5305b8 commit 5a7ef81

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/mdio/segy/_disaster_recovery_wrapper.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
from typing import TYPE_CHECKING
66

7+
78
if TYPE_CHECKING:
89
from numpy.typing import NDArray
910
from segy import SegyFile
@@ -13,6 +14,7 @@ class SegyFileTraceDataWrapper:
1314
def __init__(self, segy_file: SegyFile, indices: int | list[int] | NDArray | slice):
1415
self.segy_file = segy_file
1516
self.indices = indices
17+
1618
self.idx = self.segy_file.trace.normalize_and_validate_query(self.indices)
1719
self.traces = self.segy_file.trace.fetch(self.idx, raw=True)
1820

0 commit comments

Comments
 (0)