Skip to content

Commit 4fe6587

Browse files
author
Altay Sansal
committed
enable saving segy file header in tests
1 parent 9db0efa commit 4fe6587

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tests/integration/test_segy_import_export.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@
3434

3535
from segy.schema import SegySpec
3636

37+
3738
dask.config.set(scheduler="synchronous")
39+
os.environ["MDIO__IMPORT__SAVE_SEGY_FILE_HEADER"] = "true"
3840

3941

4042
# TODO(Altay): Finish implementing these grid overrides.

tests/integration/test_segy_import_export_masked.py

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

88
from __future__ import annotations
99

10+
import os
1011
from dataclasses import dataclass
1112
from pathlib import Path
1213
from typing import TYPE_CHECKING
@@ -33,6 +34,9 @@
3334
from numpy.typing import NDArray
3435

3536

37+
os.environ["MDIO__IMPORT__SAVE_SEGY_FILE_HEADER"] = "true"
38+
39+
3640
@dataclass
3741
class Dimension:
3842
"""Represents a single dimension for a multidimensional grid."""

0 commit comments

Comments
 (0)