From: Diane Trout Date: Wed, 18 Mar 2009 18:35:15 +0000 (+0000) Subject: only report cwd when starting the queue monitor, not on every start job loop X-Git-Tag: 0.2.0.2~10 X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=2be6210d324ab24686c1a3a19ac1d5cfb586e904 only report cwd when starting the queue monitor, not on every start job loop --- diff --git a/htsworkflow/util/queuecommands.py b/htsworkflow/util/queuecommands.py index 0426fe6..649fad6 100644 --- a/htsworkflow/util/queuecommands.py +++ b/htsworkflow/util/queuecommands.py @@ -48,7 +48,6 @@ class QueueCommands(object): (or have run out of jobs) """ queue_log = logging.getLogger('queue') - queue_log.debug('using %s as cwd' % (self.cwd,)) while (len(self.to_run) > 0) and self.under_process_limit(): queue_log.info('%d left to run', len(self.to_run)) @@ -62,6 +61,7 @@ class QueueCommands(object): run up to N jobs until we run out of jobs """ queue_log = logging.getLogger('queue') + queue_log.debug('using %s as cwd' % (self.cwd,)) # to_run slowly gets consumed by start_jobs while len(self.to_run) > 0 or len(self.running) > 0: