From 5add6f70c77e0a7db3985672aedb5e8ab0c4c892 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 24 Jan 2012 07:59:04 -0500 Subject: [PATCH] Stylistic cleanups in UnfoldScanner.move_far_from_surface. --- unfold_protein/scan.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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']) -- 2.26.2