From 486163a08aadd653e227b83c44ff2465ba1cb46c Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 7 Feb 2013 01:05:55 -0500 Subject: [PATCH] scan: Log the loop index So the user can gauge the remaining experiment time. --- unfold_protein/scan.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.26.2