@@ -269,7 +269,7 @@ def on_message_received(self, msg: Message) -> None:
269
269
self ._rtr_buffer = np .zeros (1 , dtype = RTR_DTYPE )
270
270
271
271
272
- class FrameIterator (object , metaclass = abc .ABCMeta ):
272
+ class FrameIterator (metaclass = abc .ABCMeta ):
273
273
"""
274
274
Iterator helper class for common handling among CAN DataFrames, ErrorFrames and RemoteFrames.
275
275
"""
@@ -295,8 +295,8 @@ def __init__(self, mdf: MDF4, group_index: int, start_timestamp: float, name: st
295
295
return
296
296
297
297
def _get_data (self , current_offset : int ) -> Signal :
298
- # NOTE: asammdf suggests using select instead of get. Select seem to miss converting some channels which
299
- # get does convert as expected.
298
+ # NOTE: asammdf suggests using select instead of get. Select seem to miss converting some
299
+ # channels which get does convert as expected.
300
300
data_raw = self ._mdf .get (
301
301
self ._name ,
302
302
self ._group_index ,
@@ -493,8 +493,8 @@ def __init__(
493
493
def __iter__ (self ) -> Iterator [Message ]:
494
494
import heapq
495
495
496
- # To handle messages split over multiple channel groups, create a single iterator per channel group and merge
497
- # these iterators into a single iterator using heapq.
496
+ # To handle messages split over multiple channel groups, create a single iterator per
497
+ # channel group and merge these iterators into a single iterator using heapq.
498
498
iterators : List [FrameIterator ] = []
499
499
for group_index , group in enumerate (self ._mdf .groups ):
500
500
channel_group : ChannelGroup = group .channel_group
0 commit comments