Removed now-redundant TODO comments

This commit is contained in:
Joel Collins 2020-11-13 11:27:54 +00:00
parent 004ba0b06e
commit c0f9f34256
4 changed files with 0 additions and 9 deletions

View file

@ -124,8 +124,6 @@ class GPUPreviewStartAPI(ActionView):
window = [int(w) for w in window]
microscope.camera.start_preview(fullscreen=fullscreen, window=window)
# TODO: Make schema for microscope state
return microscope.state
@ -136,5 +134,4 @@ class GPUPreviewStopAPI(ActionView):
"""
microscope = find_component("org.openflexure.microscope")
microscope.camera.stop_preview()
# TODO: Make schema for microscope state
return microscope.state

View file

@ -45,7 +45,6 @@ class MoveStageAPI(ActionView):
else:
logging.warning("Unable to move. No stage found.")
# TODO: Make schema for microscope state
return microscope.state["stage"]["position"]
@ -60,5 +59,4 @@ class ZeroStageAPI(ActionView):
with microscope.stage.lock(timeout=1):
microscope.stage.zero_position()
# TODO: Make schema for microscope state
return microscope.state["stage"]