diff --git a/src/openflexure_microscope_server/things/stage/sangaboard.py b/src/openflexure_microscope_server/things/stage/sangaboard.py index 0b5d42bc..138c17fa 100644 --- a/src/openflexure_microscope_server/things/stage/sangaboard.py +++ b/src/openflexure_microscope_server/things/stage/sangaboard.py @@ -366,7 +366,9 @@ class SangaboardThing(BaseStage): will terminate, and `self._jog_received` will be set again. This means that it should be safe to """ - duration = 1 # How long to wait initially. This shouldn't ever need to be long. + duration = ( + 1.0 # How long to wait initially. This shouldn't ever need to be long. + ) # On subsequent loop iterations, we'll wait long enough that we expect the last # move to have finished. previous_command: Optional[JogCommand] = None diff --git a/webapp/src/components/tabContentComponents/controlComponents/positionControl.vue b/webapp/src/components/tabContentComponents/controlComponents/positionControl.vue index dc56e226..4ad060ae 100644 --- a/webapp/src/components/tabContentComponents/controlComponents/positionControl.vue +++ b/webapp/src/components/tabContentComponents/controlComponents/positionControl.vue @@ -118,7 +118,6 @@ export default { }, onMoveStep(payload) { - const { x: x_steps, y: y_steps, z: z_steps } = payload; const navigationStepSize = this.$store.state.navigationStepSize; const navigationInvert = this.$store.state.navigationInvert; const x = x_steps * navigationStepSize.x * (navigationInvert.x ? -1 : 1); diff --git a/webapp/src/components/tabContentComponents/controlComponents/stageControlButtons.vue b/webapp/src/components/tabContentComponents/controlComponents/stageControlButtons.vue index 775ce234..f88b9524 100644 --- a/webapp/src/components/tabContentComponents/controlComponents/stageControlButtons.vue +++ b/webapp/src/components/tabContentComponents/controlComponents/stageControlButtons.vue @@ -1,26 +1,52 @@