Added TODO

This commit is contained in:
Joel Collins 2018-11-22 21:30:30 +00:00
parent 27bd45fd8e
commit afc75b809c

View file

@ -173,6 +173,7 @@ app.add_url_rule(
view_func=StateAPI.as_view('state', microscope=api_microscope))
#TODO: Wrap in some kind of requires_stage decorator. Do same for camera.
class PositionAPI(MicroscopeView):
def get(self):
@ -558,6 +559,7 @@ app.add_url_rule(
uri('/capture/<capture_id>/download/<filename>'),
view_func=CaptureDownloadAPI.as_view('capture_download', microscope=api_microscope))
# Automatically clean up microscope at exit
def cleanup():
global api_microscope