File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
element_array_ephys/export/nwb Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1414from spikeinterface import extractors
1515from tqdm import tqdm
1616import warnings
17- from ... import probe , ephys_acute
17+ from ... import probe , ephys_no_curation
1818
1919assert probe .schema .is_activated (), 'probe not yet activated'
2020
21- for ephys in (ephys_acute ,):
21+ for ephys in (ephys_no_curation ,):
2222 if ephys .schema .is_activated ():
2323 break
2424else :
@@ -215,10 +215,10 @@ def create_units_table(
215215 ):
216216
217217 probe_id , shank_num = (
218- probe .ProbeType .Electrode
219- * ephys .ProbeInsertion
218+ ephys .ProbeInsertion
220219 * ephys .CuratedClustering .Unit
221- & {"unit" : unit ["unit" ], "insertion_number" : unit ["insertion_number" ]}
220+ * probe .ProbeType .Electrode
221+ & unit
222222 ).fetch1 ("probe" , "shank" )
223223
224224 waveform_mean = (
You can’t perform that action at this time.
0 commit comments