Skip to content

Commit

Permalink
Remove command line entry point and associated constants
Browse files Browse the repository at this point in the history
  • Loading branch information
adamltyson committed Jul 17, 2024
1 parent 53c9a7d commit aecb2c3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
2 changes: 0 additions & 2 deletions brainglobe_segmentation/layout/gui_constants.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# Constants used throughout
WINDOW_HEIGHT = 750
WINDOW_WIDTH = 1500
COLUMN_WIDTH = 150

DISPLAY_REGION_INFO = (
Expand Down
15 changes: 0 additions & 15 deletions brainglobe_segmentation/segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
LOADING_PANEL_ALIGN,
SEGM_METHODS_PANEL_ALIGN,
TRACK_FILE_EXT,
WINDOW_HEIGHT,
WINDOW_WIDTH,
)
from brainglobe_segmentation.paths import Paths
from brainglobe_segmentation.regions.IO import (
Expand Down Expand Up @@ -560,16 +558,3 @@ def save_all(
track_file_extension=track_file_extension,
)
print("Finished!\n")


def main():
print("Loading segmentation GUI.\n ")
with napari.gui_qt():
viewer = napari.Viewer() # title="Segmentation GUI")
viewer.window.resize(WINDOW_WIDTH, WINDOW_HEIGHT)
widget = SegmentationWidget(viewer)
viewer.window.add_dock_widget(widget, name="General", area="right")


if __name__ == "__main__":
main()

0 comments on commit aecb2c3

Please sign in to comment.