Skip to content

Commit

Permalink
python3.8 typing backward compat
Browse files Browse the repository at this point in the history
  • Loading branch information
tasansal committed Nov 18, 2022
1 parent d58f38e commit 6d582d3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/mdio/segy/utilities.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
"""More utilities for reading SEG-Ys."""


from __future__ import annotations

from typing import List
from typing import Sequence
from typing import Tuple
Expand Down Expand Up @@ -74,7 +76,10 @@ def get_grid_plan(


def segy_export_rechunker(
chunks: tuple[int], shape: tuple[int], dtype: npt.DTypeLike, limit: str = "300M"
chunks: tuple[int],
shape: tuple[int],
dtype: npt.DTypeLike,
limit: str = "300M",
) -> tuple[int]:
"""Determine chunk sizes for writing out SEG-Y given limit.
Expand Down

0 comments on commit 6d582d3

Please sign in to comment.