Fixed args in endpoints
This commit is contained in:
parent
069d27bf15
commit
b06dd187ec
1 changed files with 2 additions and 6 deletions
|
|
@ -106,9 +106,7 @@ def find_picamera() -> Tuple[PiCamera, BaseCamera, Microscope]:
|
||||||
|
|
||||||
|
|
||||||
class RecalibrateView(ActionView):
|
class RecalibrateView(ActionView):
|
||||||
args = {}
|
def post(self):
|
||||||
|
|
||||||
def post(self, args):
|
|
||||||
"""Reset the camera's settings.
|
"""Reset the camera's settings.
|
||||||
|
|
||||||
This generates new gains, exposure time, and lens shading
|
This generates new gains, exposure time, and lens shading
|
||||||
|
|
@ -135,9 +133,7 @@ class RecalibrateView(ActionView):
|
||||||
microscope.save_settings()
|
microscope.save_settings()
|
||||||
|
|
||||||
class AutoLensShadingTableView(ActionView):
|
class AutoLensShadingTableView(ActionView):
|
||||||
args = {}
|
def post(self):
|
||||||
|
|
||||||
def post(self, args):
|
|
||||||
"""Perform flat-field correction
|
"""Perform flat-field correction
|
||||||
|
|
||||||
This routine acquires a new image (which should be an
|
This routine acquires a new image (which should be an
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue