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 0c85fb7 commit 5f6fa35Copy full SHA for 5f6fa35
neo/rawio/openephysrawio.py
@@ -142,7 +142,7 @@ def _parse_header(self):
142
'clipping to make them aligned.')
143
144
first = max(all_first_timestamps)
145
- last = max(all_last_timestamps)
+ last = min(all_last_timestamps)
146
for chan_index in self._sigs_memmap[seg_index]:
147
data_chan = self._sigs_memmap[seg_index][chan_index]
148
keep = (data_chan['timestamp'] >= first) & (data_chan['timestamp'] < last)
@@ -514,7 +514,6 @@ def explore_folder(dirname):
514
"100_CH0_2.continuous" ---> seg_index 1
515
"100_CH0_N.continuous" ---> seg_index N-1
516
"""
517
- print(dirname, type(dirname))
518
filenames = os.listdir(dirname)
519
filenames.sort()
520
0 commit comments