From f2768c9cadb7746f5f4393f54f520695072ceccf Mon Sep 17 00:00:00 2001 From: Richard Bowman Date: Fri, 27 Mar 2020 16:11:47 +0000 Subject: [PATCH] sorted docs and comments --- .../default_extensions/camera_stage_mapping/extension.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/openflexure_microscope/api/default_extensions/camera_stage_mapping/extension.py b/openflexure_microscope/api/default_extensions/camera_stage_mapping/extension.py index 9d0929c2..e9f8c905 100644 --- a/openflexure_microscope/api/default_extensions/camera_stage_mapping/extension.py +++ b/openflexure_microscope/api/default_extensions/camera_stage_mapping/extension.py @@ -121,10 +121,6 @@ class CSMExtension(BaseExtension): csm_extension = CSMExtension() -#csm_extension.add_method(calibrate_1d, "calibrate_1d") # Not needed any more?? -#csm_extension.add_method(calibrate_xy, "calibrate_xy") - - @ThingAction class Calibrate1DView(View): @use_args({ @@ -157,8 +153,8 @@ csm_extension.add_view(CalibrateXYView, "/calibrate_xy") @ThingAction class MoveInImageCoordinatesView(View): @use_args({ - "x": fields.Float(),#description="The number of pixels to move in X", required=True, example=100), - "y": fields.Float(),#description="The number of pixels to move in Y", required=True, example=100), + "x": fields.Float(description="The number of pixels to move in X", required=True, example=100), + "y": fields.Float(description="The number of pixels to move in Y", required=True, example=100), }) def post(self, args): logging.debug("moving in pixels")