Skip to content

Commit 558e0b9

Browse files
authored
Update element_array_ephys/ephys_chronic.py
1 parent 44dbe8c commit 558e0b9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

element_array_ephys/ephys_chronic.py

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

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

0 commit comments

Comments
 (0)