From ac5f26ef6ba4279ac63b1c8f585f596be70eddf7 Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Tue, 11 Dec 2018 17:27:44 +0000 Subject: [PATCH] Removed pointless second plugin from one file --- .../plugins/default/test_plugin/plugin.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/openflexure_microscope/plugins/default/test_plugin/plugin.py b/openflexure_microscope/plugins/default/test_plugin/plugin.py index 337278a6..873a781b 100644 --- a/openflexure_microscope/plugins/default/test_plugin/plugin.py +++ b/openflexure_microscope/plugins/default/test_plugin/plugin.py @@ -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