Tidied up todos
This commit is contained in:
parent
8a564bbdba
commit
b7a457fce1
3 changed files with 0 additions and 6 deletions
|
|
@ -1,7 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
"""
|
|
||||||
TODO: Implement API route to cleanly shut down server
|
|
||||||
"""
|
|
||||||
|
|
||||||
from flask import (
|
from flask import (
|
||||||
Flask, render_template, jsonify)
|
Flask, render_template, jsonify)
|
||||||
|
|
|
||||||
|
|
@ -379,8 +379,6 @@ addEventListener("keydown", function (e) {
|
||||||
|
|
||||||
// If not currently in an input box
|
// If not currently in an input box
|
||||||
if (!(e.target instanceof HTMLInputElement)) {
|
if (!(e.target instanceof HTMLInputElement)) {
|
||||||
|
|
||||||
// TODO: Remove this if condition? Pointless?
|
|
||||||
// If stage movement keys are pressed
|
// 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)) {
|
if ((leftKeyID in keysDown) || (rightKeyID in keysDown) || (upKeyID in keysDown) || (downKeyID in keysDown) || (pgupKeyID in keysDown) || (pgdnKeyID in keysDown)) {
|
||||||
// Calculate movement array
|
// Calculate movement array
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@ from openflexure_microscope.lock import StrictLock
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
|
||||||
# TODO: Implement lock on movement
|
|
||||||
class Stage(OpenFlexureStage):
|
class Stage(OpenFlexureStage):
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue