We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49bba8a commit b62fd12Copy full SHA for b62fd12
element_array_ephys/export/nwb/nwb.py
@@ -217,7 +217,8 @@ def create_units_table(
217
ephys.ProbeInsertion
218
* ephys.CuratedClustering.Unit
219
* probe.ProbeType.Electrode
220
- & unit
+ & dict((k, unit[k]) for k in unit.keys() # excess keys caused errs
221
+ if k not in ['spike_times', 'spike_sites', 'spike_depths'])
222
).fetch1("probe", "shank")
223
224
waveform_mean = (
0 commit comments