Skip to content

Commit b3922fc

Browse files
kabilarThinh Nguyen
andauthored
Update element_array_ephys/ephys_precluster.py
Co-authored-by: Thinh Nguyen <thinh@vathes.com>
1 parent 3a2671a commit b3922fc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

element_array_ephys/ephys_precluster.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -667,8 +667,7 @@ def make(self, key):
667667
# -- Spike-sites and Spike-depths --
668668
spike_sites = np.array([channel2electrodes[s]['electrode']
669669
for s in kilosort_dataset.data['spike_sites']])
670-
spike_depths = kilosort_dataset.data['spike_depths'] \
671-
if 'pc_features' in kilosort_dataset.data else None
670+
spike_depths = kilosort_dataset.data['spike_depths']
672671

673672
# -- Insert unit, label, peak-chn
674673
units = []

0 commit comments

Comments
 (0)