From 161c17812ed1083b7bd0204a6acc74d50d5ee442 Mon Sep 17 00:00:00 2001 From: Richard Bowman Date: Thu, 23 Apr 2020 11:10:36 +0100 Subject: [PATCH] Removed vestigial global statement There was a global declaration for the modules np and logging, probably left over from running this code in the dodgy console plugin. I've removed it as it's ugly, dodgy, and no longer needed. --- openflexure_microscope/api/default_extensions/autofocus.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openflexure_microscope/api/default_extensions/autofocus.py b/openflexure_microscope/api/default_extensions/autofocus.py index 0b3f752b..a3c2cf3a 100644 --- a/openflexure_microscope/api/default_extensions/autofocus.py +++ b/openflexure_microscope/api/default_extensions/autofocus.py @@ -372,7 +372,8 @@ class FastAutofocusAPI(View): autofocus_extension_v2 = BaseExtension( - "org.openflexure.autofocus", version="2.0.0" + "org.openflexure.autofocus", version="2.0.0", + description="Actions to move the microscope in Z and pick the point with the sharpest image." ) autofocus_extension_v2.add_method(fast_autofocus, "fast_autofocus")