Skip to content

Commit 33312ce

Browse files
committed
typo
1 parent b32247d commit 33312ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

neo/rawio/blackrockrawio.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,8 +1072,8 @@ def _read_nsx_dataheader_spec_v30_ptp(
10721072
# some packets have more than 1 sample. Not actually ptp. Revert to non-ptp variant.
10731073
return self._read_nsx_dataheader_spec_v22_30(nsx_nb, filesize=filesize, offset=offset)
10741074

1075-
1076-
# Segment data At the moment, we segment, where the data has gaps that are longer
1075+
1076+
# Segment data, at the moment, we segment, where the data has gaps that are longer
10771077
# than twice the sampling period.
10781078
sampling_rate = self._nsx_sampling_frequency[nsx_nb]
10791079
segmentation_threshold = 2.0 / sampling_rate
@@ -1187,7 +1187,7 @@ def _read_nsx_data_spec_v30_ptp(self, nsx_nb):
11871187
("samples", "int16", (self._nsx_basic_header[nsx_nb]["channel_count"],)),
11881188
]
11891189

1190-
data = {}
1190+
data = g
11911191
for bl_id, bl_header in self._nsx_data_header[nsx_nb].items():
11921192
struct_arr = np.memmap(
11931193
filename,

0 commit comments

Comments
 (0)