From: W. Trevor King Date: Sat, 11 May 2013 15:14:17 +0000 (-0400) Subject: unfold.py: Remove config overrides for unfolding distance, etc. X-Git-Tag: v0.2~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=162fd4db0260beef3dd95f270ec1d09fd046a758;p=unfold-protein.git unfold.py: Remove config overrides for unfolding distance, etc. 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. --- diff --git a/unfold.py b/unfold.py index 142aea0..043cb3a 100755 --- 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 = []