Removed pointless second plugin from one file

This commit is contained in:
Joel Collins 2018-12-11 17:27:44 +00:00
parent 87901131a0
commit ac5f26ef6b

View file

@ -14,18 +14,6 @@ class FirstPlugin(MicroscopePlugin):
return response 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 = { PLUGINS = {
'test1': FirstPlugin, '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. } #: dict: Dictionary describing the plugins. Keys are the names of the plugin's namescape, with a value corresponding to the class of that plugin.