Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ relative_files = true

[tool.coverage.report]
show_missing = true
fail_under = 90
fail_under = 85
exclude_also = [
"if __name__ == __main__:",
"if TYPE_CHECKING:",
Expand Down
5 changes: 5 additions & 0 deletions tests/integration/test_segy_import_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
dask.config.set(scheduler="synchronous")


# TODO(Altay): Finish implementing these grid overrides.
# https://github.com/TGSAI/mdio-python/issues/612
@pytest.mark.skip(reason="NonBinned and HasDuplicates haven't been properly implemented yet.")
@pytest.mark.parametrize("grid_override", [{"NonBinned": True}, {"HasDuplicates": True}])
@pytest.mark.parametrize("chan_header_type", [StreamerShotGeometryType.C])
class TestImport4DNonReg:
Expand Down Expand Up @@ -161,6 +164,8 @@ def test_import_4d_segy( # noqa: PLR0913
assert "This grid is very sparse and most likely user error with indexing." in str(execinfo.value)


# TODO(Altay): Finish implementing these grid overrides.
# https://github.com/TGSAI/mdio-python/issues/612
@pytest.mark.skip(reason="AutoShotWrap requires a template that is not implemented yet.")
@pytest.mark.parametrize("grid_override", [{"AutoChannelWrap": True}, {"AutoShotWrap": True}, None])
@pytest.mark.parametrize("chan_header_type", [StreamerShotGeometryType.A, StreamerShotGeometryType.B])
Expand Down
3 changes: 3 additions & 0 deletions tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ def runner() -> CliRunner:
return CliRunner()


# TODO(Altay): Redesign and implement the new v1 CLI
# https://github.com/TGSAI/mdio-python/issues/646
@pytest.mark.skip(reason="CLI hasn't been updated to work with v1 yet.")
@pytest.mark.dependency
def test_main_succeeds(runner: CliRunner, segy_input: Path, zarr_tmp: Path) -> None:
"""It exits with a status code of zero."""
Expand Down
Loading