Move everything except `GUI` from `hooke.ui.gui` to `hooke.ui.gui.interface`.
[hooke.git] / hooke / plugin / __init__.py
index ee9cc8e052021e3c06581b5aa193e17d61051846..3598017c92060f34247e78ad226183e7d5f8cd2f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2010 W. Trevor King <wking@drexel.edu>
+# Copyright (C) 2010-2011 W. Trevor King <wking@drexel.edu>
 #
 # This file is part of Hooke.
 #
@@ -34,17 +34,13 @@ PLUGIN_MODULES = [
     ('convfilt', True),
     ('cut', True),
 #    ('fclamp', True),
-#    ('flatfilts-rolf', True),
     ('flatfilt', True),
 #    ('jumpstat', True),
-#    ('macro', True),
 #    ('massanalysis', True),
 #    ('multidistance', True),
 #    ('multifit', True),
 #    ('pcluster', True),
     ('polymer_fit', True),
-#    ('procplots', True),
-#    ('review', True),
 #    ('showconvoluted', True),
 #    ('superimpose', True),
 #    ('tccd', True),
@@ -56,9 +52,11 @@ default.  TODO: autodiscovery
 """
 
 BUILTIN_MODULES = [
+    'command_stack',
     'config',
     'curve',
     'debug',
+    'engine',
     'license',
     'note',
     'playlist',
@@ -170,7 +168,6 @@ def default_settings():
 def load_graph(graph, config, include_section):
     enabled = {}
     items = []
-    conditions = config.items('conditions')
     for node in graph:
         item = node.data
         try:
@@ -187,12 +184,5 @@ def load_graph(graph, config, include_section):
                      % (item.name, dependency.data.name))
                     enabled[item.name] = False
                     continue
-            try:
-                item.config = dict(config.items(item.setting_section))
-            except configparser.NoSectionError:
-                item.config = {}
-            for key,value in conditions:
-                if key not in item.config:
-                    item.config[key] = value
             items.append(item)
     return items