Bring hooke.config and hooke.util.peak doctests up to speed
[hooke.git] / hooke / config.py
index 5f9e91942cb48fccacd7392a35436f5992d382e5..6d9ccebaea40f448b018bbc1ef6eec54be317ba1 100644 (file)
@@ -131,10 +131,18 @@ class HookeConfigParser (configparser.SafeConfigParser):
     >>> c = HookeConfigParser(paths=DEFAULT_PATHS,
     ...                       default_settings=DEFAULT_SETTINGS)
     >>> c.write(sys.stdout) # doctest: +ELLIPSIS
-    # Control display appearance: colour, ???, etc.
-    [display]
-    colour_ext = None
-    colour_ret = None
+    # Default environmental conditions in case they are not specified in
+    # the force curve data.
+    [conditions]
+    # Temperature in Kelvin
+    temperature = 301
+    <BLANKLINE>
+    # Configure loggers, see
+    # http://docs.python.org/library/logging.html#configuration-file-format
+    [loggers]
+    # Hooke only uses the hooke logger, but other included modules may
+    # also use logging and you can configure their loggers here as well.
+    keys = root, hooke
     ...
     """
     def __init__(self, paths=None, default_settings=None, defaults=None,