Added TODO
This commit is contained in:
parent
27bd45fd8e
commit
afc75b809c
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue