Skip to content

Commit 7970f9b

Browse files
committed
Move phy plugin to subfolder to avoid incidentally loading cluster_table.py when phy searches for plugins, which causes forced DataJoint connection
1 parent f7e36dd commit 7970f9b

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

launch_phy/phy_launcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def launch_phy(probe_name, eid=None, subj=None, date=None, sess_no=None, one=Non
7070
controller = TemplateController(dat_path=raw_file, dir_path=alf_probe_dir, dtype=np.int16,
7171
n_channels_dat=384, sample_rate=3e4,
7272
plugins=['IBLMetricsPlugin'],
73-
plugin_dirs=[Path(__file__).resolve().parent])
73+
plugin_dirs=[Path(__file__).resolve().parent / 'plugins'])
7474
gui = controller.create_gui()
7575
gui.show()
7676
run_app()

0 commit comments

Comments
 (0)