Skip to content

Commit cdce624

Browse files
committed
Flatten channel map
1 parent c428e47 commit cdce624

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

element_array_ephys/readers/kilosort.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ def _stat(self):
9191
self._data[base] = (np.reshape(d, d.shape[0])
9292
if d.ndim == 2 and d.shape[1] == 1 else d)
9393

94+
self._data['channel_map'] = self._data['channel_map'].flatten()
95+
9496
# Read the Cluster Groups
9597
for cluster_pattern, cluster_col_name in zip(['cluster_groups.*', 'cluster_KSLabel.*'],
9698
['group', 'KSLabel']):

0 commit comments

Comments
 (0)