Load capture objects from files. Remove YAML database.

This commit is contained in:
Joel Collins 2019-05-15 16:32:58 +01:00
parent f8e647198a
commit 092181348b
9 changed files with 64 additions and 119 deletions

View file

@ -67,8 +67,6 @@ def check_module(module_path):
def name_from_module(plugin_path):
path_array = plugin_path.split('.')
print(path_array)
# Truncate namespace of default plugins
if path_array[0:2] == ['openflexure_microscope', 'plugins']:
path_array = path_array[2:]
@ -129,7 +127,7 @@ class PluginMount(object):
def __init__(self, parent):
self.parent = parent
self.plugins = []
print("Creating plugin mount")
logging.info("Creating plugin mount")
@property
def state(self):