unfold.py: Remove config overrides for unfolding distance, etc.
authorW. Trevor King <wking@tremily.us>
Sat, 11 May 2013 15:14:17 +0000 (11:14 -0400)
committerW. Trevor King <wking@tremily.us>
Sat, 11 May 2013 15:14:17 +0000 (11:14 -0400)
These snuck in during 87f12e4 (Update unfold_protein to use the new
pyafm.storage._load_afm, 2012-05-11).  Obviously, I should be using
h5config to load a user-written YAML file instead of hard-coding these
values in the unfolding script.

unfold.py

index 142aea09192f8e96b19d2a7be3a313859718183c..043cb3a202cc11ec485c68ed27262efc31a1fedb 100755 (executable)
--- a/unfold.py
+++ b/unfold.py
@@ -51,12 +51,9 @@ if __name__ == '__main__':
     unfold_config = _config.UnfoldCycleConfig()
     unfold_config['approach'] = _config.ApproachConfig()
     unfold_config['unfold'] = _config.UnfoldConfig()
-    unfold_config['unfold']['distance'] = 900e-9
     unfold_config['save'] = _config.SaveConfig()
     scan_config = _config.ScanConfig()
     scan_config['velocity'] = _config.VelocityScanConfig()
-    #scan_config['velocity']['unfolding velocities'] = _numpy.array([1e-6])
-    scan_config['velocity']['num loops'] = 500
     scan_config['position'] = _config.PositionScanConfig()
 
     devices = []