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 14
14
from spikeinterface import extractors
15
15
from tqdm import tqdm
16
16
import warnings
17
- from ... import probe , ephys_acute
17
+ from ... import probe , ephys_no_curation
18
18
19
19
assert probe .schema .is_activated (), 'probe not yet activated'
20
20
21
- for ephys in (ephys_acute ,):
21
+ for ephys in (ephys_no_curation ,):
22
22
if ephys .schema .is_activated ():
23
23
break
24
24
else :
@@ -215,10 +215,10 @@ def create_units_table(
215
215
):
216
216
217
217
probe_id , shank_num = (
218
- probe .ProbeType .Electrode
219
- * ephys .ProbeInsertion
218
+ ephys .ProbeInsertion
220
219
* ephys .CuratedClustering .Unit
221
- & {"unit" : unit ["unit" ], "insertion_number" : unit ["insertion_number" ]}
220
+ * probe .ProbeType .Electrode
221
+ & unit
222
222
).fetch1 ("probe" , "shank" )
223
223
224
224
waveform_mean = (
You can’t perform that action at this time.
0 commit comments