diff --git a/atlaselectrophysiology/ephys_atlas_gui.py b/atlaselectrophysiology/ephys_atlas_gui.py index 6f18512..e306568 100644 --- a/atlaselectrophysiology/ephys_atlas_gui.py +++ b/atlaselectrophysiology/ephys_atlas_gui.py @@ -2149,6 +2149,14 @@ def viewer(probe_id, one=None, histology=False, spike_collection=None, title=Non return av +def launch_offline(): + + app_off = QtWidgets.QApplication([]) + mainapp_off = MainWindow(offline=True) + mainapp_off.show() + app_off.exec_() + + if __name__ == '__main__': import argparse diff --git a/setup.py b/setup.py index 69eb959..f1ee83e 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ entry_points={ 'console_scripts': [ 'atlas=atlasview.atlasview:main', - 'align=atlaselectrophysiology.ephys_atlas_gui:__main__', + 'ephys-align=atlaselectrophysiology.ephys_atlas_gui:launch_offline', ] }, )