Skip to content

Commit

Permalink
Doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cssedev committed Nov 11, 2024
1 parent 640f6ce commit 240ad2d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions can/io/mf4.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ class MF4Reader(BinaryIOMessageReader):

# NOTE: Readout based on the bus logging code from asammdf GUI

class CANDataFrameIterator(FrameIterator):
class _CANDataFrameIterator(FrameIterator):

def __init__(self, mdf: MDF4, group_index: int, start_timestamp: float):
super().__init__(mdf, group_index, start_timestamp, "CAN_DataFrame")
Expand Down Expand Up @@ -369,7 +369,7 @@ def __iter__(self) -> Generator[Message, None, None]:

pass

class CANErrorFrameIterator(FrameIterator):
class _CANErrorFrameIterator(FrameIterator):

def __init__(self, mdf: MDF4, group_index: int, start_timestamp: float):
super().__init__(mdf, group_index, start_timestamp, "CAN_ErrorFrame")
Expand Down Expand Up @@ -426,7 +426,7 @@ def __iter__(self) -> Generator[Message, None, None]:

pass

class CANRemoteFrameIterator(FrameIterator):
class _CANRemoteFrameIterator(FrameIterator):

def __init__(self, mdf: MDF4, group_index: int, start_timestamp: float):
super().__init__(mdf, group_index, start_timestamp, "CAN_RemoteFrame")
Expand Down Expand Up @@ -521,19 +521,19 @@ def __iter__(self) -> Iterator[Message]:
if acquisition_source.bus_type == Source.BUS_TYPE_CAN:
if "CAN_DataFrame" in channel_names:
iterators.append(
self.CANDataFrameIterator(
self._CANDataFrameIterator(
self._mdf, group_index, self._start_timestamp
)
)
elif "CAN_ErrorFrame" in channel_names:
iterators.append(
self.CANErrorFrameIterator(
self._CANErrorFrameIterator(
self._mdf, group_index, self._start_timestamp
)
)
elif "CAN_RemoteFrame" in channel_names:
iterators.append(
self.CANRemoteFrameIterator(
self._CANRemoteFrameIterator(
self._mdf, group_index, self._start_timestamp
)
)
Expand Down

0 comments on commit 240ad2d

Please sign in to comment.