Skip to content

Commit

Permalink
2 decimal points displayed, none value od FIB fiducial displayed, ent…
Browse files Browse the repository at this point in the history
…er issue of the grid overridden, x,y,z change, index rows are swapped
  • Loading branch information
K4rishma committed Jan 27, 2025
1 parent afd8efa commit 3a6caee
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 264 deletions.
5 changes: 3 additions & 2 deletions src/odemis/acq/target.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ def __init__(self, x,y,z, name:str, type:str, index: int, fm_focus_position: fl
self.coordinates = model.ListVA((x, y, z), unit="px")
self.type = model.StringVA(type)
self.name = model.StringVA(name)
self.index = model.IntContinuous(index, range=(1, 20))
# The index and target name are in sync.
# TODO to change increase the index limit. change the sync logic between index and name in tab_gui_data.py and correlation.py
self.index = model.IntContinuous(index, range=(1, 9))
if size:
self.size = model.FloatContinuous(size, range=(1, 20))# for super Z workflow
else:
self.size = None
self.fm_focus_position = model.FloatVA(fm_focus_position, unit="m")

Loading

0 comments on commit 3a6caee

Please sign in to comment.