Skip to content

Commit c3b604f

Browse files
authored
Update neo/rawio/blackrockrawio.py
1 parent 7f3a861 commit c3b604f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

neo/rawio/blackrockrawio.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,6 +1257,7 @@ def __read_nev_data(self, nev_data_masks, nev_data_types):
12571257
# expected number of data packets. We are not sure why, but it seems we can get partial data packets
12581258
# based on blackrock's own code this is okay so applying an int to round down is necessary to obtain the
12591259
# memory map of full packets and toss the partial packet.
1260+
# See reference: https://github.com/BlackrockNeurotech/Python-Utilities/blob/fa75aa671680306788e10d3d8dd625f9da4ea4f6/brpylib/brpylib.py#L580-L587
12601261
n_packets = int(
12611262
(self.__get_file_size(filename) - header_size) / data_size
12621263
)

0 commit comments

Comments
 (0)