Commit 5bcceac 1 parent 5e049fa commit 5bcceac Copy full SHA for 5bcceac
File tree 2 files changed +9
-4
lines changed
2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 17
17
18
18
from finn .errors import ReaderPluginError
19
19
from finn .utils .translations import trans
20
+ from finn .track_application_menus .main_app import MainApp
20
21
21
22
22
23
class InfoAction (argparse .Action ):
@@ -331,6 +332,10 @@ def _run() -> None:
331
332
# it will collect it and hang finn at start time.
332
333
# in a way that is machine, os, time (and likely weather dependant).
333
334
viewer = Viewer ()
335
+
336
+ # add in track viewing widgets by default
337
+ main_tracks_widget = MainApp (viewer )
338
+ viewer .window .add_dock_widget (main_tracks_widget )
334
339
335
340
# For backwards compatibility
336
341
# If the --stack option is provided without additional arguments
@@ -576,10 +581,10 @@ def main():
576
581
# Prevent https://github.com/napari/napari/issues/3415
577
582
# This one fix is needed _after_ a potential relaunch,
578
583
# that's why it's here and not in _maybe_rerun_with_macos_fixes()
579
- if sys .platform == 'darwin' :
580
- import multiprocessing
584
+ # if sys.platform == 'darwin':
585
+ # import multiprocessing
581
586
582
- multiprocessing .set_start_method ('fork' )
587
+ # multiprocessing.set_start_method('fork')
583
588
584
589
_run ()
585
590
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ def __init__(self, viewer: finn.Viewer):
20
20
tabwidget = QTabWidget ()
21
21
22
22
# tabwidget.addTab(motile_widget, "Track with Motile")
23
+ tabwidget .addTab (tracks_viewer .tracks_list , "Tracks List" )
23
24
tabwidget .addTab (editing_widget , "Edit Tracks" )
24
- tabwidget .addTab (tracks_viewer .tracks_list , "Results List" )
25
25
26
26
layout = QVBoxLayout ()
27
27
layout .addWidget (tabwidget )
You can’t perform that action at this time.
0 commit comments