From fc7aa366add14fb60945ac0f168064bdc73110a9 Mon Sep 17 00:00:00 2001 From: Altay Sansal Date: Tue, 19 Nov 2024 17:09:20 -0600 Subject: [PATCH] Update error message for endianness inference failure --- src/segy/file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/segy/file.py b/src/segy/file.py index c6332d3..5777452 100644 --- a/src/segy/file.py +++ b/src/segy/file.py @@ -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)