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 d4a0ebd commit 2240a29Copy full SHA for 2240a29
neo/rawio/blackrockrawio.py
@@ -987,8 +987,10 @@ def __read_nsx_dataheader_variant_b(
987
filesize_bytes = self.__get_file_size(filename)
988
989
data_header = {}
990
-
991
- offset_to_first_data_block = int(offset or self.__nsx_basic_header[nsx_nb]["bytes_in_headers"])
+ if offset is None:
+ offset_to_first_data_block = int(self.__nsx_basic_header[nsx_nb]["bytes_in_headers"])
992
+ else:
993
+ offset_to_first_data_block = int(offset)
994
995
channel_count = int(self.__nsx_basic_header[nsx_nb]["channel_count"])
996
current_offset_bytes = offset_to_first_data_block
0 commit comments