Fix problems with the transition to the new nested-Config h5config package.
[calibcant.git] / calibcant / config.py
index cffb58f86d369a404d86970ca6e31099ac01889a..c80e791c1cfe3307a66b67a703bbf39ffc9e518e 100644 (file)
@@ -77,6 +77,12 @@ class Quadratic (_BumpModel):
 class BumpConfig (_config.Config):
     "Configure `calibcant` bump operation"
     settings = [
+        _config.FloatSetting(
+            name='initial-position',
+            help=('Position relative to surface for start of bump in meters.  '
+                  'Should be less than zero to ensure non-contact region '
+                  'before you hit the surface.'),
+            default=-50e-9),
         _config.FloatSetting(
             name='setpoint',
             help=('Maximum deflection in volts in case of stepper positioning '
@@ -110,9 +116,6 @@ class BumpConfig (_config.Config):
                 ]),
         ]
 
-class BumpResult (_config.Config):
-    "The result of a `calibcant` bump operation"
-    
 
 class _VibrationModel (object):
     pass