projects
/
unfold-protein.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
486163a
)
scan: Approach the surface with stepper_approach() before looping
author
W. Trevor King
<wking@tremily.us>
Thu, 7 Feb 2013 06:07:34 +0000
(
01:07
-0500)
committer
W. Trevor King
<wking@tremily.us>
Thu, 7 Feb 2013 06:07:34 +0000
(
01:07
-0500)
This makes the initial approach much faster if you are starting far
from the surface (e.g. after a calibcant calibration).
unfold_protein/scan.py
patch
|
blob
|
history
diff --git
a/unfold_protein/scan.py
b/unfold_protein/scan.py
index de1edda85d4ef87916470a4bb71bccb99cff2ebf..e511dfd48f42dc7c8a5c0b17664cec0b8efaec3f 100644
(file)
--- a/
unfold_protein/scan.py
+++ b/
unfold_protein/scan.py
@@
-34,6
+34,8
@@
class UnfoldScanner (object):
def run(self):
self._stop = False
_signal.signal(_signal.SIGTERM, self._handle_stop_signal)
+ self.unfolder.afm.move_away_from_surface()
+ self.stepper_approach()
for i in range(self.config['velocity']['num loops']):
_LOG.info('on loop {} of {}'.format(
i, self.config['velocity']['num loops']))