Skip to content

Commit

Permalink
Remove NotImplementedError for SegyStandard Rev2+
Browse files Browse the repository at this point in the history
This change eliminates the exception raised for SEGY revision 2 or higher, allowing the code to continue without interruption. The revision interpretation for Rev2+ will need to be handled appropriately in the future.
  • Loading branch information
Altay Sansal committed Sep 12, 2024
1 parent b53579b commit 0f06d21
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/segy/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,6 @@ def transform(self, data: NDArray[Any]) -> NDArray[Any]:

major = SegyStandard(data["segy_revision"] // 256)
data["segy_revision"] = major
if major >= SegyStandard.REV2:
msg = "Revision interpretation for Rev2+ is not implemented."
raise NotImplementedError(msg)

return data

Expand Down

0 comments on commit 0f06d21

Please sign in to comment.