diff --git a/python/lsst/pipe/drivers/constructCalibs.py b/python/lsst/pipe/drivers/constructCalibs.py index d5bbe40..85ecf86 100644 --- a/python/lsst/pipe/drivers/constructCalibs.py +++ b/python/lsst/pipe/drivers/constructCalibs.py @@ -411,8 +411,8 @@ def batchWallTime(cls, time, parsedCmd, numCores): numCcds = len(parsedCmd.butler.get("camera")) numExps = len(cls.RunnerClass.getTargetList( parsedCmd)[0]['expRefList']) - numCycles = int(numCcds/float(numCores) + 0.5) - return time*numExps*numCycles + numCycles = int(numExps*numCcds/float(numCores) + 0.5) + return time*numCycles @classmethod def _makeArgumentParser(cls, *args, **kwargs):