Commit b7a457fc authored by jtc42's avatar jtc42
Browse files

Tidied up todos

parent 8a564bbd
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
#!/usr/bin/env python
"""
TODO: Implement API route to cleanly shut down server
"""

from flask import (
    Flask, render_template, jsonify)
+0 −2
Original line number Diff line number Diff line
@@ -379,8 +379,6 @@ addEventListener("keydown", function (e) {

    // If not currently in an input box
    if (!(e.target instanceof HTMLInputElement)) {

        // TODO: Remove this if condition? Pointless?
        // If stage movement keys are pressed
        if ((leftKeyID in keysDown) || (rightKeyID in keysDown) || (upKeyID in keysDown) || (downKeyID in keysDown) || (pgupKeyID in keysDown) || (pgdnKeyID in keysDown)) {
            // Calculate movement array
+0 −1
Original line number Diff line number Diff line
@@ -5,7 +5,6 @@ from openflexure_microscope.lock import StrictLock
import logging


# TODO: Implement lock on movement
class Stage(OpenFlexureStage):
    def __init__(self, *args, **kwargs):
        """