Updated all log strings to new format
This commit is contained in:
parent
36e837d374
commit
9f5252194a
35 changed files with 121 additions and 715 deletions
|
|
@ -25,11 +25,11 @@ class MoveStageAPI(ActionView):
|
|||
# Handle absolute positioning (calculate a relative move from current position and target)
|
||||
if (args.get("absolute")) and (microscope.stage): # Only if stage exists
|
||||
target_position = axes_to_array(args, ["x", "y", "z"])
|
||||
logging.debug("TARGET: {}".format(target_position))
|
||||
logging.debug("TARGET: {}", (target_position))
|
||||
position = [
|
||||
target_position[i] - microscope.stage.position[i] for i in range(3)
|
||||
]
|
||||
logging.debug("DELTA: {}".format(position))
|
||||
logging.debug("DELTA: {}", (position))
|
||||
|
||||
else:
|
||||
# Get coordinates from payload
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue