Skip to content

Commit

Permalink
Update error message for endianness inference failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Altay Sansal committed Nov 19, 2024
1 parent 503a28e commit fc7aa36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/segy/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def check_format_code(dtype: DTypeLike) -> bool:
# Inference failed
msg = (
"Cannot automatically infer file endianness using explicit or legacy "
"methods. Please provide it using SegyFileSettings."
"methods. Please provide it using SegyFileSettings or SegySpec."
)
raise EndiannessInferenceError(msg)

Expand Down

0 comments on commit fc7aa36

Please sign in to comment.