File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1002,11 +1002,11 @@ def __read_nsx_dataheader_variant_b(
10021002 f"Invalid NSX data block header at offset { current_offset_bytes :#x} in ns{ nsx_nb } file. "
10031003 f"Expected header_flag=1, got { header_flag } . "
10041004 f"This may indicate file corruption or unsupported NSX format variant. "
1005- f"Block index: { data_block_index } , File size: { filesize } bytes"
1005+ f"Block index: { data_block_index } , File size: { filesize_bytes } bytes"
10061006 )
10071007 timestamp = packet_header ["timestamp" ]
1008- offset_to_data_block_start = current_offset_bytes + packet_header .dtype .itemsize
10091008 num_data_points = int (packet_header ["nb_data_points" ])
1009+ offset_to_data_block_start = current_offset_bytes + packet_header .dtype .itemsize
10101010
10111011 data_header [data_block_index ] = {
10121012 "header" : header_flag ,
You can’t perform that action at this time.
0 commit comments