From b7a457fce180d8966f8363754e1e3f70a283878d Mon Sep 17 00:00:00 2001 From: jtc42 Date: Fri, 19 Apr 2019 09:11:48 +0100 Subject: [PATCH] Tidied up todos --- openflexure_microscope/api/app.py | 3 --- openflexure_microscope/api/static/main_v1.js | 2 -- openflexure_microscope/stage/openflexure.py | 1 - 3 files changed, 6 deletions(-) diff --git a/openflexure_microscope/api/app.py b/openflexure_microscope/api/app.py index 9d8574c5..4819f740 100644 --- a/openflexure_microscope/api/app.py +++ b/openflexure_microscope/api/app.py @@ -1,7 +1,4 @@ #!/usr/bin/env python -""" -TODO: Implement API route to cleanly shut down server -""" from flask import ( Flask, render_template, jsonify) diff --git a/openflexure_microscope/api/static/main_v1.js b/openflexure_microscope/api/static/main_v1.js index 71710062..588ba180 100644 --- a/openflexure_microscope/api/static/main_v1.js +++ b/openflexure_microscope/api/static/main_v1.js @@ -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 diff --git a/openflexure_microscope/stage/openflexure.py b/openflexure_microscope/stage/openflexure.py index 6b5c8585..7f7a5472 100644 --- a/openflexure_microscope/stage/openflexure.py +++ b/openflexure_microscope/stage/openflexure.py @@ -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): """