Skip to content

Commit 6a14fe6

Browse files
committed
change layout
1 parent f54beda commit 6a14fe6

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/aind_ephys_portal/panel/ephys_gui.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,21 @@
3030
"removed_units": [],
3131
}
3232

33+
from spikeinterface_gui.layout_presets import _presets
34+
35+
aind_layout = dict(
36+
zone1=['unitlist', 'curation', 'mergelist', 'spikelist'],
37+
zone2=[],
38+
zone3=['trace', 'tracemap', 'spikeamplitude'],
39+
zone4=[],
40+
zone5=['probe'],
41+
zone6=['ndscatter', 'similarity'],
42+
zone7=['waveform', 'waveformheatmap', ],
43+
zone8=['correlogram', 'isi'],
44+
)
45+
_presets['aind'] = aind_layout
46+
47+
3348
class EphysGuiView(param.Parameterized):
3449

3550
def __init__(self, analyzer_path, recording_path, **params):
@@ -153,6 +168,7 @@ def _create_main_window(self):
153168
start_app=False,
154169
make_servable=False,
155170
verbose=True,
171+
layout_preset="aind"
156172
)
157173
return win.main_layout
158174
else:

0 commit comments

Comments
 (0)