Skip to content

Commit f4c7c10

Browse files
committed
fix type hint
1 parent 78ae370 commit f4c7c10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mdio/converters/segy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def populate_non_dim_coordinates(
230230
return dataset, drop_vars_delayed
231231

232232

233-
def _get_horizontal_coordinate_unit(segy_headers: list[Dimension]) -> LengthUnitEnum | None:
233+
def _get_horizontal_coordinate_unit(segy_headers: list[Dimension]) -> AllUnits | None:
234234
"""Get the coordinate unit from the SEG-Y headers."""
235235
name = TraceHeaderFieldsRev0.COORDINATE_UNIT.name.upper()
236236
unit_hdr = next((c for c in segy_headers if c.name.upper() == name), None)

0 commit comments

Comments
 (0)