Skip to content

Commit

Permalink
[fix] move enzel alignment tab related constants to odemis.gui.model.…
Browse files Browse the repository at this point in the history
…_constants
  • Loading branch information
nandishjpatel committed Feb 7, 2024
1 parent 38e9880 commit e9ac88f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 5 additions & 0 deletions src/odemis/gui/model/_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,8 @@
# Autofocus state
TOOL_AUTO_FOCUS_ON = True
TOOL_AUTO_FOCUS_OFF = False

# Used for enzel alignment tab
Z_ALIGN = "Z alignment"
SEM_ALIGN = "SEM alignment"
FLM_ALIGN = "FLM alignment"
6 changes: 2 additions & 4 deletions src/odemis/gui/model/tab_gui_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
VIEW_LAYOUT_FULLSCREEN, TOOL_RULER, TOOL_ROA,
TOOL_SPOT, STATE_OFF, STATE_ON, STATE_DISABLED,
TOOL_FEATURE, TOOL_RO_ANCHOR, TOOL_POINT, TOOL_LINE,
TOOL_LABEL, TOOL_DICHO, VIEW_LAYOUT_VERTICAL)
TOOL_LABEL, TOOL_DICHO, VIEW_LAYOUT_VERTICAL,
Z_ALIGN, SEM_ALIGN, FLM_ALIGN)
from odemis.util.filename import create_filename, make_unique_name
from odemis import model
from odemis.acq import fastem
Expand Down Expand Up @@ -661,9 +662,6 @@ def __init__(self, main):
self.dicho_seq = model.ListVA() # list of 4 enumerated for each corner


Z_ALIGN = "Z alignment"
SEM_ALIGN = "SEM alignment"
FLM_ALIGN = "FLM alignment"
class EnzelAlignGUIData(ActuatorGUIData):
def __init__(self, main):
ActuatorGUIData.__init__(self, main)
Expand Down

0 comments on commit e9ac88f

Please sign in to comment.