Skip to content

Commit 52155f8

Browse files
committed
anotehr typo
1 parent a2ac0e2 commit 52155f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neo/rawio/blackrockrawio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ def _read_nsx_dataheader_spec_v30_ptp(
10811081
# The raw timestamps are the indices of an ideal clock that ticks at `timestamp_resolution` times per second.
10821082
# We convert this indices to actual timestamps in seconds
10831083
raw_timestamps = struct_arr["timestamps"]
1084-
timestamps_rate = self._nsx_basic_header[nsx_nb]["timestamp_resolution"] # clocks per sec uint64 or uint32
1084+
: = self._nsx_basic_header[nsx_nb]["timestamp_resolution"] # clocks per sec uint64 or uint32
10851085
timestamps_in_seconds = raw_timestamps / timestamps_rate
10861086

10871087
time_differences = np.diff(timestamps_in_seconds)
@@ -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 = g
1190+
data = {}
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)