From: W. Trevor King Date: Thu, 7 Feb 2013 06:05:55 +0000 (-0500) Subject: scan: Log the loop index X-Git-Tag: v0.2~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=486163a08aadd653e227b83c44ff2465ba1cb46c;p=unfold-protein.git scan: Log the loop index So the user can gauge the remaining experiment time. --- diff --git a/unfold_protein/scan.py b/unfold_protein/scan.py index b849e49..de1edda 100644 --- a/unfold_protein/scan.py +++ b/unfold_protein/scan.py @@ -35,6 +35,8 @@ class UnfoldScanner (object): self._stop = False _signal.signal(_signal.SIGTERM, self._handle_stop_signal) for i in range(self.config['velocity']['num loops']): + _LOG.info('on loop {} of {}'.format( + i, self.config['velocity']['num loops'])) for velocity in self.config['velocity']['unfolding velocities']: if self._stop: return