From: W. Trevor King Date: Tue, 24 Jan 2012 12:59:04 +0000 (-0500) Subject: Stylistic cleanups in UnfoldScanner.move_far_from_surface. X-Git-Tag: v0.2~22 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5add6f70c77e0a7db3985672aedb5e8ab0c4c892;p=unfold-protein.git Stylistic cleanups in UnfoldScanner.move_far_from_surface. --- diff --git a/unfold_protein/scan.py b/unfold_protein/scan.py index efbfb0d..426c09e 100644 --- a/unfold_protein/scan.py +++ b/unfold_protein/scan.py @@ -20,7 +20,7 @@ import signal as _signal -from calibcant.calibrate import move_far_from_surface +from calibcant.calibrate import move_far_from_surface as _move_far_from_surface import pypiezo.base as _pypiezo_base from . import LOG as _LOG @@ -55,8 +55,9 @@ class UnfoldScanner (object): self._stop = True def move_far_from_surface(self): - _LOG.info('retract with the stepper motor') - move_far_from_surface( + _LOG.info('retract with the stepper motor by {} m'.format( + self.unfolder.config['approach']['far'])) + _move_far_from_surface( stepper=self.unfolder.afm.stepper, distance=self.unfolder.config['approach']['far'])