Bytes offset should be an int

This commit is contained in:
2020-06-29 15:52:05 +02:00
parent 01644dc8b4
commit c40a932b74
+1 -1
View File
@@ -30,7 +30,7 @@ class BinaryBufferReader(object):
def read_pulse_id(self, pulse_id):
index_in_file = get_file_frame_index(pulse_id)
n_bytes_offset = index_in_file * sizeof(BufferBinaryFormat)
n_bytes_offset = int(index_in_file * sizeof(BufferBinaryFormat))
n_bytes_to_read = sizeof(BufferBinaryFormat)
metadata = {"pulse_id": 0,