File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 2
2
import datetime
3
3
import datajoint as dj
4
4
import typing as T
5
- import json
6
5
7
6
schema = dj .schema ()
8
7
@@ -50,12 +49,9 @@ def make(self, key):
50
49
51
50
for shank_no in shanks :
52
51
53
- table = (
54
- units
55
- * ephys .ProbeInsertion .proj ()
56
- * probe .ProbeType .Electrode .proj ("shank" )
57
- & {"shank" : shank_no }
58
- )
52
+ table = units * ephys .ProbeInsertion * probe .ProbeType .Electrode & {
53
+ "shank" : shank_no
54
+ }
59
55
60
56
spike_times , spike_depths = table .fetch (
61
57
"spike_times" , "spike_depths" , order_by = "unit"
@@ -139,7 +135,7 @@ def make(self, key):
139
135
def _make_save_dir (root_dir : pathlib .Path = None ) -> pathlib .Path :
140
136
if root_dir is None :
141
137
root_dir = pathlib .Path ().absolute ()
142
- save_dir = root_dir / "ephys_figures "
138
+ save_dir = root_dir / "temp "
143
139
save_dir .mkdir (parents = True , exist_ok = True )
144
140
return save_dir
145
141
You can’t perform that action at this time.
0 commit comments