Loading openflexure_microscope/plugins/default/camera_calibration/plugin.py +0 −29 Original line number Diff line number Diff line Loading @@ -7,33 +7,6 @@ import logging from .recalibrate_utils import recalibrate_camera, auto_expose_and_freeze_settings API_SCHEMA = { 'icon': 'lifesaver', 'requireConnection': True, 'forms': [ { 'route': '/recalibrate', 'schema': [ { 'fieldType': "htmlBlock", 'name': "heading", 'content': "<b>This plugin was generated from JSON!</b><p>In fact, I'm typing this HTML block into my Python plugin right now." }, { 'fieldType': "radioList", 'name': "coolness", 'label': "How cool is that!?", 'options': ["Very", "Very very", "I'm losing my mind"] }, { 'fieldType': "htmlBlock", 'name': "subheading", 'content': "I should apologise to the auto-calibrate plugin though. I'm using that as a test-bed..." }, ] } ] } class RecalibrateAPIView(MicroscopeViewPlugin): def post(self): Loading @@ -53,8 +26,6 @@ class Plugin(MicroscopePlugin): '/recalibrate': RecalibrateAPIView, } api_schema = API_SCHEMA def recalibrate(self): """Reset the camera's settings. Loading Loading
openflexure_microscope/plugins/default/camera_calibration/plugin.py +0 −29 Original line number Diff line number Diff line Loading @@ -7,33 +7,6 @@ import logging from .recalibrate_utils import recalibrate_camera, auto_expose_and_freeze_settings API_SCHEMA = { 'icon': 'lifesaver', 'requireConnection': True, 'forms': [ { 'route': '/recalibrate', 'schema': [ { 'fieldType': "htmlBlock", 'name': "heading", 'content': "<b>This plugin was generated from JSON!</b><p>In fact, I'm typing this HTML block into my Python plugin right now." }, { 'fieldType': "radioList", 'name': "coolness", 'label': "How cool is that!?", 'options': ["Very", "Very very", "I'm losing my mind"] }, { 'fieldType': "htmlBlock", 'name': "subheading", 'content': "I should apologise to the auto-calibrate plugin though. I'm using that as a test-bed..." }, ] } ] } class RecalibrateAPIView(MicroscopeViewPlugin): def post(self): Loading @@ -53,8 +26,6 @@ class Plugin(MicroscopePlugin): '/recalibrate': RecalibrateAPIView, } api_schema = API_SCHEMA def recalibrate(self): """Reset the camera's settings. Loading