We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d688a8 commit 40f017dCopy full SHA for 40f017d
neo/rawio/plexonrawio.py
@@ -155,7 +155,9 @@ def _parse_header(self):
155
if self.progress_bar:
156
progress_bar.close()
157
158
- self._last_timestamps = bl_header["UpperByteOf5ByteTimestamp"] * 2**32 + bl_header["TimeStamp"]
+ upper_byte_of_5_byte_timestamp = int(bl_header["UpperByteOf5ByteTimestamp"])
159
+ bl_header_timestamp = int(bl_header["TimeStamp"])
160
+ self._last_timestamps = upper_byte_of_5_byte_timestamp * 2**32 + bl_header_timestamp
161
162
# ... and finalize them in self._data_blocks
163
# for a faster access depending on type (1, 4, 5)
0 commit comments