Loading openflexure_microscope/api/utilities.py +1 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ class JsonPayload: else: val = default if convert: if convert and (val is not None): val = convert(val) return val Loading openflexure_microscope/plugins/default/autofocus/plugin.py +2 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,8 @@ API_SCHEMA = { 'forms': [ { 'route': '/fast_autofocus', 'isTask': True, 'submitLabel': "Run autofocus", 'schema': [ { 'fieldType': "htmlBlock", Loading openflexure_microscope/plugins/testing/__init__.py +0 −1 Original line number Diff line number Diff line from .plugin import Plugin No newline at end of file openflexure_microscope/plugins/testing/plugin.pydeleted 100644 → 0 +0 −13 Original line number Diff line number Diff line from openflexure_microscope.plugins import MicroscopePlugin class Plugin(MicroscopePlugin): """ A set of default plugins """ def identify(self): """ Tests for access to Microscope.camera, and Microscope.stage """ return self.microscope.camera, self.microscope.stage openflexure_microscope/plugins/testing/schema_example/__init__.py 0 → 100644 +2 −0 Original line number Diff line number Diff line from .plugin import ExamplePlugin from . import api No newline at end of file Loading
openflexure_microscope/api/utilities.py +1 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ class JsonPayload: else: val = default if convert: if convert and (val is not None): val = convert(val) return val Loading
openflexure_microscope/plugins/default/autofocus/plugin.py +2 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,8 @@ API_SCHEMA = { 'forms': [ { 'route': '/fast_autofocus', 'isTask': True, 'submitLabel': "Run autofocus", 'schema': [ { 'fieldType': "htmlBlock", Loading
openflexure_microscope/plugins/testing/__init__.py +0 −1 Original line number Diff line number Diff line from .plugin import Plugin No newline at end of file
openflexure_microscope/plugins/testing/plugin.pydeleted 100644 → 0 +0 −13 Original line number Diff line number Diff line from openflexure_microscope.plugins import MicroscopePlugin class Plugin(MicroscopePlugin): """ A set of default plugins """ def identify(self): """ Tests for access to Microscope.camera, and Microscope.stage """ return self.microscope.camera, self.microscope.stage
openflexure_microscope/plugins/testing/schema_example/__init__.py 0 → 100644 +2 −0 Original line number Diff line number Diff line from .plugin import ExamplePlugin from . import api No newline at end of file