Skip to content

Commit dee9e12

Browse files
committed
refactor warning message
1 parent f1a32bc commit dee9e12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neo/rawio/tdtrawio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,8 +563,8 @@ def read_tbk(tbk_filename):
563563
missing_keys = set(tbk_field_names) - set(info.keys())
564564
if missing_keys:
565565
warnings.warn(
566-
f"Could not find all channel group info in tbk file, the missing keys are {missing_keys}.\n"
567-
"The reader will continue with channel groups that could be parsed."
566+
f"The tbk file contains incomplete channel group info for group {list(info.items())}. "
567+
"This channel group will be skipped."
568568
)
569569
continue
570570
for k, dt in tbk_field_types:

0 commit comments

Comments
 (0)