Loading openflexure_microscope/plugins/default/test_plugin/plugin.py +0 −12 Original line number Diff line number Diff line Loading @@ -14,18 +14,6 @@ class FirstPlugin(MicroscopePlugin): return response class OtherPlugin(MicroscopePlugin): """ An example of a second Microscope plugin, loaded from the same plugin file. """ def do_something(self): """ Demonstrate access to Microscope.camera, and Microscope.stage """ return "Stage plugin parent stage: {}".format(self.microscope.stage) PLUGINS = { 'test1': FirstPlugin, 'test2': OtherPlugin, } #: dict: Dictionary describing the plugins. Keys are the names of the plugin's namescape, with a value corresponding to the class of that plugin. No newline at end of file Loading
openflexure_microscope/plugins/default/test_plugin/plugin.py +0 −12 Original line number Diff line number Diff line Loading @@ -14,18 +14,6 @@ class FirstPlugin(MicroscopePlugin): return response class OtherPlugin(MicroscopePlugin): """ An example of a second Microscope plugin, loaded from the same plugin file. """ def do_something(self): """ Demonstrate access to Microscope.camera, and Microscope.stage """ return "Stage plugin parent stage: {}".format(self.microscope.stage) PLUGINS = { 'test1': FirstPlugin, 'test2': OtherPlugin, } #: dict: Dictionary describing the plugins. Keys are the names of the plugin's namescape, with a value corresponding to the class of that plugin. No newline at end of file