Skip to content

Commit a4a09bc

Browse files
author
kleinjohann
committed
pc_feature_ind has to be indexed by templates
1 parent 64c8fd6 commit a4a09bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo/rawio/phyrawio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def _parse_header(self):
179179
current_pc_features[:, pc_idx, channel_idx]
180180

181181
if self._pc_feature_ind is not None:
182-
spiketrain_an['pc_feature_ind'] = self._pc_feature_ind[index]
182+
spiketrain_an['pc_feature_ind'] = self._pc_feature_ind[unique_templates]
183183

184184
def _segment_t_start(self, block_index, seg_index):
185185
assert block_index == 0

0 commit comments

Comments
 (0)