Skip to content

Commit 44dbe8c

Browse files
authored
Update element_array_ephys/ephys_acute.py
1 parent a392e57 commit 44dbe8c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

element_array_ephys/ephys_acute.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -533,8 +533,7 @@ def make(self, key):
533533
# -- Spike-sites and Spike-depths --
534534
spike_sites = np.array([channel2electrodes[s]['electrode']
535535
for s in kilosort_dataset.data['spike_sites']])
536-
spike_depths = kilosort_dataset.data['spike_depths'] \
537-
if 'pc_features' in kilosort_dataset.data else None
536+
spike_depths = kilosort_dataset.data['spike_depths']
538537

539538
# -- Insert unit, label, peak-chn
540539
units = []

0 commit comments

Comments
 (0)