File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -293,7 +293,7 @@ def __init__(
293293 warnings .warn (warning_msg )
294294
295295 if not use_names_as_ids :
296- self .set_property ("channel_names " , signal_channels ["name" ])
296+ self .set_property ("channel_name " , signal_channels ["name" ])
297297
298298 if all_annotations :
299299 block_ann = self .neo_reader .raw_annotations ["blocks" ][self .block_index ]
@@ -316,9 +316,9 @@ def __init__(
316316 array_annotations = sig_ann ["__array_annotations__" ]
317317 # We do not add this because is confusing for the user to have this repeated
318318 array_annotations .pop ("channel_ids" , None )
319- # This is duplicated when using channel_names as ids
319+ # This is duplicated when using `use_names_as_ids`
320320 if use_names_as_ids :
321- array_annotations .pop ("channel_names " , None )
321+ array_annotations .pop ("channel_name " , None )
322322
323323 # vector array_annotations are channel properties
324324 for key , values in array_annotations .items ():
You can’t perform that action at this time.
0 commit comments